Description
Mistral Vibe before 2.25.7 contains a remote code execution vulnerability that allows attackers to run commands by configuring malicious Git clean or process filter drivers in a repository. When a user opens a crafted repository, ProjectContextProvider._fetch_git_status runs git status at startup, invoking the filters and executing commands with user privileges before any trust prompt.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mistralai | mistral-vibe | < 2.25.7 | 2.25.7 |
References
- Patch Commit patch
- https://github.com/mistralai/mistral-vibe product
- https://github.com/mistralai/mistral-vibe/blob/v2.25.7/CHANGELOG.md?plain=1#L17 release-notes
- mistral-vibe v2.25.7 Release Notes release-notes
- https://github.com/mistralai/mistral-vibe/blob/v2.25.5/vibe/core/system_prompt.py#L108-L120 technical-description
- VulnCheck Advisory: Mistral Vibe before 2.25.7 Code Execution via Git Filter Drivers third-party-advisory