CVE-2025-61260: OpenAI Codex CLI enables code execution via malicious MCP files
OpenAI Codex CLI
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
- CVSS
- 9.8
- EPSS
- 0.07 · top 6% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 14 Apr 2026
- last update
- 14 Apr 2026
- CVE ids
Timeline · 2
Sources · 2
Advisories and databases
- 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 gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- OpenAI, Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 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.
- record
- confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2025-61260: OpenAI Codex CLI enables code execution via malicious MCP files https://gcdradar.vercel.app/incidents/cve-2025-61260-openai-codex-cli-enables-code-execution-via-m · AIR-2026-0567 · closed 2026-04-14 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2026-04-14 - AI role: Attack on AI - Products: OpenAI Codex CLI - CVE ids: CVE-2025-61260 - CVSS: 9.8 ## Summary 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. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2026-04-14: CVE-2025-61260: A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model… (https://nvd.nist.gov/vuln/detail/CVE-2025-61260) - 2026-04-14: CVE-2025-61260: OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files (https://github.com/advisories/GHSA-xrxf-jgv3-qmrm) ## Sources - 2026-04-14 GitHub Advisory Database: CVE-2025-61260: OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files https://github.com/advisories/GHSA-xrxf-jgv3-qmrm - 2026-04-14 NVD: CVE-2025-61260: A vulnerability was identified in OpenAI Codex CLI v0.23.0 and before that enables code execution through malicious MCP (Model… https://nvd.nist.gov/vuln/detail/CVE-2025-61260 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed7.3OpenAI Codex OpenAI Codex CLI and Desktop vulnerable to arbitrary code execution via Git metadata
Patch now · Disclosed · since 1 Sep 2026 · CVE-2026-19592
AI - closed8.8OpenAI Codex OpenAI Codex CLI and Desktop vulnerable to command safety bypass
Patch now · Disclosed · since 1 Sep 2026 · CVE-2026-19591
AI - closed4.1OpenAI Codex Auto-Approval Flaw in OpenAI Codex CLI
Patch now · Disclosed · since 25 Jul 2025 · CVE-2025-54558
AI - closed6.3Flowise CVE-2026-73603: Chatflow visibility bypass in Flowise TTS endpoint
Patch now · Disclosed · since 13 Aug 2026 · CVE-2026-73603
AI - closed9.9Flowise CVE-2026-67622: Flowise IDOR vulnerability in OpenAI Assistants integration
Patch now · Disclosed · since 6 Aug 2026 · CVE-2026-67622
AI - closed7.1Flowise CVE-2026-70472: Flowise cross-workspace credential IDOR vulnerability
Patch now · Disclosed · since 4 Aug 2026 · CVE-2026-70472
AI