A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | @openai/codex (npm) | up to 0.23.0 | — | No fix listed | GHSA-xrxf-jgv3-qmrm |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- @openai/codex (npm) Vendor— Affected up to 0.23.0 Fixed in — No fix listed GHSA-xrxf-jgv3-qmrm
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-61260
- 2026-10-03 Alias added: GHSA-xrxf-jgv3-qmrm
References
Sources
- CVE-2025-61260 · CVE Program
- CVE-2025-61260 · NVD
- FIRST EPSS
- GHSA-xrxf-jgv3-qmrm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences