Description
Mistral Vibe before 2.25.5 contains a permission validation bypass vulnerability that allows attackers to execute unauthorized commands by exploiting a parsing discrepancy between tree-sitter-bash and bash in handling backslash-newline line continuations in the _extract_commands() function of bash.py. Attackers can craft a command string where tree-sitter-bash extracts only an allowlisted prefix such as cd while bash joins the line continuation into a materially different and hidden command such as a curl request, causing resolve_permission to grant ALWAYS permission while bash executes unauthorized arbitrary commands.
Published: 2026-10-13
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Permission Bypass leading to Unauthorized Command Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows an attacker to construct a command string that exploits a parsing difference between tree‑sitter‑bash and the standard bash interpreter. The parser accepts an allowed prefix such as "cd" and grants permission, while bash joins a backslash‑newline continuation into a hidden, more destructive command such as a curl request. This mismatch causes the service to believe a safe action is authorized, yet arbitrary commands are executed, effectively bypassing permission checks.

Affected Systems

Products affected are Mistralai Mistral Vibe releases older than version 2.25.5. Any instance of Mistral Vibe running a tree‑sitter‑bash based command extraction routine before the 2.25.5 release falls within the scope of this issue.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as high severity. Exploit probability is not reflected in an EPSS value, and the vulnerability is not listed in the CISA KEV catalog, but the lack of an EPSS entry does not imply low risk; it only indicates that data is unavailable. Attackers who can supply input to the command extraction routine can immediately gain arbitrarily privileged command execution, making this a critical local or remote code execution risk depending on the existing access model.

Generated by OpenCVE AI on October 13, 2026 at 19:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Mistral Vibe version 2.25.5 or later to apply the tree‑sitter‑bash parsing fix.
  • If an upgrade is not immediately possible, restrict the input that feeds the _extract_commands() function to prevent backslash‑newline sequences or validate that only allowlisted prefixes are present before processing.
  • Continuously monitor logs for unexpected command execution patterns to detect exploitation attempts while remediation efforts are underway.

Generated by OpenCVE AI on October 13, 2026 at 19:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Description Mistral Vibe before 2.25.5 contains a permission validation bypass vulnerability that allows attackers to execute unauthorized commands by exploiting a parsing discrepancy between tree-sitter-bash and bash in handling backslash-newline line continuations in the _extract_commands() function of bash.py. Attackers can craft a command string where tree-sitter-bash extracts only an allowlisted prefix such as cd while bash joins the line continuation into a materially different and hidden command such as a curl request, causing resolve_permission to grant ALWAYS permission while bash executes unauthorized arbitrary commands.
Title Mistral Vibe < 2.25.5 Permission Bypass via Bash Line Continuation
Weaknesses CWE-436
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T18:24:09.736Z

Reserved: 2026-10-12T15:52:36.682Z

Link: CVE-2026-109428

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T19:18:33.097

Modified: 2026-10-13T19:30:29.797

Link: CVE-2026-109428

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T20:00:16Z

Weaknesses