RCE in N/a
CVE-2025-61260
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.066 (93.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- N/a — versions n/a
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-61260?
- CVE-2025-61260 is a critical-severity vulnerability in N/a, classified under Code Injection. CVSS score: 9.8/10. Published 2026-04-14.
- How severe is CVE-2025-61260?
- Critical severity. CVSS v3 base score is 9.8 out of 10.