Vulnerability  ·  2026-10-14

Mistral Vibe (Mistral AI) bash permission-gate bypass via ${var@P} prompt-transform → silent arbitrary command execution

VulnerabilityHigh impactGlobalCVE-2026-109429
Published 2026-10-13 (CVSS 8.8 v3.1, CWE-436) by VulnCheck. tree-sitter-bash static parsing cannot detect a substitution hidden in a single-quoted value, and bash's promptvars feature executes it at runtime; only the trailing allowlisted command is classified. Verified via NVD REST API.
Same agent-execution class as the Roo Code cluster: a frontier-lab-shipped agent CLI's permission gate is defeated by shell metacharacter semantics invisible to its parser, giving a prompt-injected command silent code execution with the developer's session privileges. Shows the bash-permission-bypass class now spans multiple major agent tools.
Indirect prompt injection supplies input such as a single-quoted variable whose value contains a command substitution, re-expanded at runtime with the ${var@P} prompt-transform operator. The permission gate only sees the allowlisted trailing command, so the agent silently executes the hidden command in the terminal session.
Mistral AI mistral-vibe < 2.25.4 (AI agent CLI)
Upgrade mistral-vibe to 2.25.4 (fix commit 19b5b74). Until patched, disable auto-approval of shell commands and run against trusted inputs only.
NVD CVE-2026-109429Mistral AI commit 19b5b74faa78d0816b8d4d4c7d7543fc3520678cNVD (REST, verified)
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →