CVE-2025-61260: Vulnerability in @openai/codex
Critical. 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...
npm, CWE-94
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-xrxf-jgv3-qmrm
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94
- Published
- 14 Apr 2026
- Last change
- 4 Nov 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- @openai/codex npm, Affected through 0.23.0. No fixed version recorded
Advisories
Vendor and security advisories