Description
Mistral Vibe before 3.0.3 contains a remote code execution vulnerability that allows attackers to run commands by defining git filter drivers in an untrusted repository's .git/config. When started with --worktree, git worktree add applies .gitattributes and runs filter smudge, clean, or process commands before the trusted-folder check, executing attacker commands with user privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mistralai | mistral-vibe | < 3.0.3 | 3.0.3 |
References
- https://github.com/mistralai/mistral-vibe/issues/997 issue-tracking
- https://github.com/mistralai/mistral-vibe/commit/7bb48f213ac677f943d5c791199ed3dddf302f00 patch
- mistral-vibe v3.0.3 Release Notes release-notes
- https://github.com/mistralai/mistral-vibe/blob/v2.24.1/vibe/core/worktree.py#L303-L317 technical-description
- VulnCheck Advisory: Mistral Vibe before 3.0.3 RCE via Git Filter Drivers in Worktree Mode third-party-advisory