CVE-2026-122133: Mistral Vibe: untrusted git.exe path allows RCE on Windows

HIGH
Published November 4, 2026
CISO Take

Mistral Vibe, Mistral's AI coding agent CLI, before 2.25.5 on Windows resolves git.exe from the repository root, so opening a booby-trapped repository runs attacker code at session start, before any trust prompt appears. The CVSS is 8.8 and the only user action required is opening a crafted repo, which developers do routinely with cloned or shared projects. Risk is moderated by the Windows-only scope, no public exploit or Nuclei template, no KEV listing, and no EPSS score yet, but exploitation is trivial once an attacker can get a repository in front of a developer. The package has 473 downstream dependents and 15 other CVEs, which points to a recurring security debt in the project. Upgrade to 2.25.5 or later, and until then avoid opening untrusted repositories with Vibe on Windows and hunt for unexpected git.exe files inside repository roots.

Sources:NVDATLASVulnCheckGitHub (mistralai/mistral-vibe)

What is the risk?

High. Exploitation is low complexity, needs no privileges and only one user action (opening a repository). Code runs with the developer's privileges before the trust prompt, defeating the main control. Exposure is limited to Windows hosts running Mistral Vibe below 2.25.5. No known public exploit, KEV listing or EPSS data at publication, so near-term mass exploitation is unlikely but targeted attacks on developers are realistic. Developer workstations commonly hold source code, cloud credentials, API keys and SSH keys, which raises impact.

How does the attack unfold?

Initial Access
Attacker delivers a repository containing a malicious git.exe at its root via a clone link, pull request, or shared project.
AML.T0011
Execution
Developer opens the repo in Mistral Vibe on Windows; SessionLogger and ProjectContextProvider run git, which resolves to the planted git.exe before any trust prompt.
AML.T0112.000
Credential Access
Payload harvests API keys, environment variables, SSH keys and cloud credentials from the developer workstation.
AML.T0050
Impact
Attacker uses stolen access to pivot, exfiltrate source code, or inject backdoors into the software supply chain.

What systems are affected?

PackageEcosystemVulnerable RangePatched
Mistral AIpip—No patch
773473 dependentsPushed 5d ago0% patchedFull package profile →

Do you use Mistral AI? You're affected.

How severe is it?

CVSS 3.1
8.8 / 10
EPSS
N/A
Exploitation Status
No known exploitation
Sophistication
Trivial

What is the attack surface?

AVACPRUISCIA
AVNetwork
ACLow
PRNone
UIRequired
SUnchanged
CHigh
IHigh
AHigh

What should I do?

6 steps
  1. Upgrade mistral-vibe to 2.25.5 or later (pip install -U mistral-vibe).

  2. Until patched, do not open untrusted or newly cloned repositories with Vibe on Windows; use a sandbox or VM for review.

  3. Set NoDefaultCurrentDirectoryInExePath=1 in the environment as a defense-in-depth measure for Windows process search.

  4. Detect: scan repository roots for git.exe or other unexpected executables, and alert on git.exe processes spawned from non-standard paths (EDR rule on the image path not matching Git for Windows install directories) with parent python or vibe.

  5. Inventory installed mistral-vibe versions across developer endpoints.

  6. Rotate API keys and credentials on any host where a suspicious repo was opened.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

ISO 42001
A.6.2.6-AI system operation and monitoring
NIST AI RMF
MANAGE 2.3-Response to unknown risks and mechanisms for deactivation
OWASP LLM Top 10
LLM03-Supply ChainLLM06-Excessive Agency

Frequently Asked Questions

What is CVE-2026-122133?

Mistral Vibe, Mistral's AI coding agent CLI, before 2.25.5 on Windows resolves git.exe from the repository root, so opening a booby-trapped repository runs attacker code at session start, before any trust prompt appears. The CVSS is 8.8 and the only user action required is opening a crafted repo, which developers do routinely with cloned or shared projects. Risk is moderated by the Windows-only scope, no public exploit or Nuclei template, no KEV listing, and no EPSS score yet, but exploitation is trivial once an attacker can get a repository in front of a developer. The package has 473 downstream dependents and 15 other CVEs, which points to a recurring security debt in the project. Upgrade to 2.25.5 or later, and until then avoid opening untrusted repositories with Vibe on Windows and hunt for unexpected git.exe files inside repository roots.

Is CVE-2026-122133 actively exploited?

No confirmed active exploitation of CVE-2026-122133 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-122133?

1. Upgrade mistral-vibe to 2.25.5 or later (pip install -U mistral-vibe). 2. Until patched, do not open untrusted or newly cloned repositories with Vibe on Windows; use a sandbox or VM for review. 3. Set NoDefaultCurrentDirectoryInExePath=1 in the environment as a defense-in-depth measure for Windows process search. 4. Detect: scan repository roots for git.exe or other unexpected executables, and alert on git.exe processes spawned from non-standard paths (EDR rule on the image path not matching Git for Windows install directories) with parent python or vibe. 5. Inventory installed mistral-vibe versions across developer endpoints. 6. Rotate API keys and credentials on any host where a suspicious repo was opened.

What systems are affected by CVE-2026-122133?

This vulnerability affects the following AI/ML architecture patterns: agent frameworks, AI coding assistants, developer workstations, CLI-based LLM agents.

What is the CVSS score for CVE-2026-122133?

CVE-2026-122133 has a CVSS v3.1 base score of 8.8 (HIGH).

What is the AI security impact?

Affected AI Architectures

agent frameworksAI coding assistantsdeveloper workstationsCLI-based LLM agents

MITRE ATLAS Techniques

AML.T0010.001AI Software
AML.T0011User Execution
AML.T0050Command and Scripting Interpreter
AML.T0112.000Local AI Agent

Compliance Controls Affected

ISO 42001: A.6.2.6
NIST AI RMF: MANAGE 2.3
OWASP LLM Top 10: LLM03, LLM06

What are the technical details?

Original Advisory

Mistral Vibe before 2.25.5 on Windows contains an untrusted search path vulnerability that allows attackers to execute code by placing git.exe in a repository root. Attackers can lure users into opening a crafted repository so SessionLogger and ProjectContextProvider run the malicious git.exe at session start before any trust prompt.

Exploitation Scenario

An attacker publishes or sends a repository (for example a fake open source project, a pull request branch, or a take-home coding challenge) that contains a malicious git.exe at its root. A developer on Windows clones it and launches Mistral Vibe in that directory. At session start SessionLogger and ProjectContextProvider run git, Windows resolves the binary from the current directory, and the payload executes before any trust prompt. The attacker then steals environment variables, LLM API keys, cloud credentials and SSH keys, and can plant backdoors in the developer's other repositories.

Weaknesses (CWE)

CWE-427 — Uncontrolled Search Path Element: The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

  • [Architecture and Design, Implementation] Hard-code the search path to a set of known-safe values (such as system directories), or only allow them to be specified by the administrator in a configuration file. Do not allow these settings to be modified by an external party. Be careful to avoid related weaknesses such as CWE-426 and CWE-428.
  • [Implementation] When invoking other programs, specify those programs using fully-qualified pathnames. While this is an effective approach, code that uses fully-qualified pathnames might not be portable to other systems that do not use the same pathnames. The portability can be improved by locating the full-qualified paths in a centralized, easily-modifiable location within the source code, and having the code refer to these paths.

Source: MITRE CWE corpus.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Timeline

Published
November 4, 2026
Last Modified
November 4, 2026
First Seen
November 5, 2026

Related Vulnerabilities