CVE-2025-61260: OpenAI Codex CLI enables code execution via malicious MCP files
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
OpenAI Codex CLI automatically loaded local configuration files in repositories without user confirmation, allowing execution of embedded commands. The flaw impacted version 0.23.0 and prior.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- OpenAI, Framework / tooling
- products
- OpenAI Codex CLI
- incident date
- 14 Apr 2026
- first reported
- 14 Apr 2026
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-61260 · mcp · rce
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2026-04-14CVE-2025-61260: OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration filesGitHub Advisory Database · github.com/advisories/GHSA-xrxf-jgv3-qmrm
- 2026-04-14CVE-2025-61260: A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model…NVD · nvd.nist.gov/vuln/detail/CVE-2025-61260
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-09-01OpenAI Codex CLI and Desktop vulnerable to arbitrary code execution via Git metadata2 Disclosedon AIInfra vuln1 src
- 2026-09-01OpenAI Codex CLI and Desktop vulnerable to command safety bypass2 Disclosedon AIInfra vuln1 src
- 2025-07-25Auto-Approval Flaw in OpenAI Codex CLI2 Disclosedon AIInfra vuln1 src
- 2026-08-13CVE-2026-73603: Chatflow visibility bypass in Flowise TTS endpoint2 Disclosedon AIInfra vuln1 src
- 2026-08-06CVE-2026-67622: Flowise IDOR vulnerability in OpenAI Assistants integration2 Disclosedon AIInfra vuln1 src
- 2026-08-04CVE-2026-70472: Flowise cross-workspace credential IDOR vulnerability2 Disclosedon AIInfra vuln2 src