Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109429 Overview
CVE-2026-109429 is a command permission gate bypass in Mistral Vibe versions before 2.25.4. The flaw lets attackers execute arbitrary shell commands by hiding a command substitution inside a single-quoted variable value that tree-sitter-bash static parsing cannot detect. Attackers re-expand the variable using the ${var@P} prompt-transform operator, triggering bash's promptvars feature to execute the hidden command at runtime. Only the trailing allowlisted command is classified by the permission gate, resulting in silent arbitrary command execution with the privileges of the agent's terminal session. The weakness is categorized as [CWE-436] Interpretation Conflict.
Critical Impact
Arbitrary command execution with the privileges of the coding agent's terminal session, bypassing the user-facing command permission allowlist.
Affected Products
- Mistral Vibe versions prior to 2.25.4
- Mistral's open-source coding assistant distributed via the Zed extension (mistral-vibe)
- Deployments relying on tree-sitter-bash static parsing for command allowlisting
Discovery Timeline
- 2026-10-13 - CVE-2026-109429 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-109429
Vulnerability Analysis
Mistral Vibe enforces a command permission gate that inspects shell commands before execution. The gate uses tree-sitter-bash to statically parse the command text and verify that only allowlisted binaries are invoked. The parser treats single-quoted strings as literal data and does not evaluate the contents.
Attackers abuse this parser assumption by embedding a command substitution such as $(malicious) inside a single-quoted variable assignment. The static parser classifies the assignment as a literal string, and only the trailing allowlisted command (for example, echo or ls) is seen as the executable action. At runtime, bash's promptvars feature re-expands the variable through the ${var@P} prompt-transform operator, causing the previously inert string to be interpreted as a prompt expansion that executes the embedded substitution.
The result is a parser-versus-interpreter interpretation conflict in which the security control and the runtime shell disagree about what the input means.
Root Cause
The root cause is a mismatch between tree-sitter-bash static analysis and bash runtime semantics. The permission gate assumes single-quoted contents are inert text, but the ${var@P} operator applies prompt-string transformations that honor command substitutions when promptvars is enabled. The allowlist decision is made on the parsed form, not the executed form.
Attack Vector
An attacker who can influence input processed by the Mistral Vibe agent (such as prompt content, repository files, or tool outputs) can craft a command containing a single-quoted variable with a hidden command substitution followed by an allowlisted command. When the agent executes the string, bash expands the hidden substitution and runs arbitrary code in the agent's terminal session. User interaction is required to run the agent action.
// Patch metadata from the fix in distribution/zed/extension.toml
id = "mistral-vibe"
name = "Mistral Vibe"
description = "Mistral's open-source coding assistant"
-version = "2.25.3"
+version = "2.25.4"
schema_version = 1
authors = ["Mistral AI"]
repository = "https://github.com/mistralai/mistral-vibe"
Source: GitHub Commit 19b5b74
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-109429
Indicators of Compromise
- Shell history or agent logs containing single-quoted variable assignments with embedded $(...) or backtick substitutions.
- Presence of the ${var@P} prompt-transform operator in agent-executed commands.
- Unexpected child processes spawned by the Mistral Vibe agent terminal session that do not match the allowlisted trailing command.
Detection Strategies
- Audit command strings executed by the agent for the @P parameter transformation applied to variables that originated from untrusted content.
- Compare the allowlisted command identified by the permission gate against the actual process tree observed at runtime; divergence indicates bypass.
- Monitor Mistral Vibe installations and flag any version earlier than 2.25.4.
Monitoring Recommendations
- Enable process execution telemetry on hosts running the agent and alert on commands containing ${*@P} constructs.
- Capture full command lines rather than parsed arguments to preserve quoting and substitution context for later review.
- Correlate agent-initiated executions with outbound network connections to detect post-exploitation activity.
How to Mitigate CVE-2026-109429
Immediate Actions Required
- Upgrade Mistral Vibe to version 2.25.4 or later across all development endpoints and CI environments.
- Restrict the agent to least-privilege terminal sessions that cannot reach sensitive credentials or production systems.
- Review recent agent activity for signs of command substitution abuse involving the @P operator.
Patch Information
The fix ships in Mistral Vibe v2.25.4. See the GitHub Release v2.25.4, the GitHub Pull Request #1084, and the VulnCheck Security Advisory for details on the hardened permission gate.
Workarounds
- Disable or constrain the Mistral Vibe command execution feature until the upgrade is applied.
- Run the agent inside an ephemeral container or sandbox where arbitrary command execution has limited impact.
- Where feasible, invoke bash with set +o promptvars so the shell does not re-expand variables through the prompt-transform operator.
# Verify installed version and upgrade
grep -E '^version' distribution/zed/extension.toml
# Expected after patch: version = "2.25.4"
# Launch agent shells with promptvars disabled as a defense-in-depth measure
bash --noprofile --norc -c 'set +o promptvars; exec bash'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

