CVE-2025-61260CRITICAL 9.8EPSS p92.7%

CVE-2025-61260CVE-2025-61260

Description

A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model Context Protocol) configuration files. The attack is triggered when a user runs the codex command inside a malicious or compromised repository. Codex automatically loads project-local .env and .codex/config.toml files without requiring user confirmation, allowing attackers to embed arbitrary commands that execute immediately.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS6.32% probability of exploitation · percentile 92.7% · 2026-06-18T12:00:27Z
Published2026-04-14
Last modified2026-04-17

Underlying weaknesses· 1

CWE-94

References

  1. http://openai.com
  2. https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/
  3. https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/

1

TypeTargetConfidenceTier
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-64109
CVE
CVE-2026-31236
CVE
CVE-2025-64660
CVE
CVE-2026-32625
CVE
CVE-2026-30617
CVE
CVE-2025-65716
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.