---
id: "CVE-2026-122135"
kind: "vulnerability"
aliases: ["CVE-2026-122135"]
title: "Mistral Vibe: a crafted repository runs commands at session start"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-tooling", "coding-agent", "git", "mistral-vibe"]
not_affected_if: ["trusted-repos-only", "version-3.0.3-or-later"]
published_at: "2026-11-04T21:18:09+00:00"
first_seen_at: "2026-11-04T21:49:20+00:00"
updated_at: "2026-11-04T21:50:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122135", "first_seen_at": "2026-11-04T21:49:20+00:00"}]
exploit_sources: []
---

# Mistral Vibe: a crafted repository runs commands at session start

Mistral Vibe before 3.0.3 runs git log during project context collection, and a repository can set gpg.program so git executes an attacker's program. The program runs at session start, before any trust prompt, so an attacker gets command execution on the developer's machine.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Mistral Vibe version and confirm it is below `3.0.3`
- Review repositories you open with Vibe for a `gpg.program` setting in `.git/config`, and `log.showSignature` enabled

## Fix

- Mistral Vibe: move to `3.0.3` or later

## Timeline

- 2026-11-04T21:49:20+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-122135

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/mistral-vibe-before-3.0.3-rce-via-repository-configured-gpg-program
- [fix] Patch: github.com https://github.com/mistralai/mistral-vibe/commit/7bb48f213ac677f943d5c791199ed3dddf302f00
- [fix] Release notes: github.com https://github.com/mistralai/mistral-vibe/releases/tag/v3.0.3

## From the sources

Mistral Vibe before 3.0.3 contains a remote code execution vulnerability that allows attackers to run commands by abusing repository-configured gpg.program during project context collection. A crafted repository setting gpg.program and log.showSignature with a signed commit makes git log execute the attacker's program at session start, before any trust prompt.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
