Executive brief
Mistral Vibe is an AI code execution environment that automatically approves commands deemed safe. A vulnerability allows attackers to hide dangerous command arguments (like -exec for find) using ANSI-C quoting syntax, bypassing permission checks while Bash restores and executes the hidden arguments. An attacker can trick the system into running arbitrary commands with the user's privileges.
Technical details
This is an incomplete input validation vulnerability (CWE-184) in Mistral Vibe's permission checking logic. The _extract_commands() function reconstructs shell commands from tree-sitter AST nodes to verify them against a permission policy, but it fails to include ansi_c_string node types in its reconstruction. An attacker can express dangerous find predicates (e.g., -exec) using ANSI-C quoting syntax (