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.
Configurations

No configuration.

History

05 Jul 2026, 02:17

Type Values Removed Values Added
References
  • {'url': 'http://openai.com', 'source': 'cve@mitre.org'}

16 Apr 2026, 13:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/ - () https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/ -
CWE CWE-94

14 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-14 15:16

Updated : 2026-07-05 02:17


NVD link : CVE-2025-61260

Mitre link : CVE-2025-61260

CVE.ORG link : CVE-2025-61260


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')