mistral-vibe: Mistral Vibe < 2.25.4 Bash Permission Bypass via ${var@P} Prompt-Transform
What fixes it
- 2.25.4mistral-vibeCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Mistral Vibe before 2.25.4 contains a command permission gate bypass vulnerability that allows attackers to execute arbitrary commands by hiding a command substitution inside a single-quoted variable value that tree-sitter-bash static parsing cannot detect. Attackers can craft input such as embedding a command substitution within a single-quoted variable and re-expanding it with the ${var@P} prompt-transform operator so bash's promptvars feature executes the hidden command at runtime while only the trailing allowlisted command is classified, resulting in silent arbitrary command execution with the privileges of the agent's terminal session.
Text from CVE List
Affected versions 1
- mistral-vibeaffected: all versions before 2.25.4CVE List
References 4
- github.com/mistralai/mistral-vibe/releases/tag/v2.25.4Fixvia CVE List
- github.com/mistralai/mistral-vibe/pull/1084Fixvia CVE List
- github.com/mistralai/mistral-vibe/commit/19b5b74faa78d0816b8d4d4c7d7543fc3520678cFixvia CVE List
- vulncheck.com/advisories/mistral-vibe-bash-permission-bypass-via-var-p-prompt-transformAdvisoryvia CVE List