HighVulnerabilityLLM-specific
CVE-2025-61260: OpenAI Codex CLI code execution through malicious MCP configuration files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-61260
- Published
- Record updated
- Affected
- @openai/codex <= 0.23.0
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 6.6%
Summary
CVE-2025-61260 affects OpenAI Codex CLI v0.23.0 and earlier. A malicious or compromised repository can trigger code execution when a user runs the codex command inside it, because Codex automatically loads project-local .env and .codex/config.toml files, including malicious MCP (Model Context Protocol) configuration, without user confirmation. Attackers can embed arbitrary commands that execute immediately.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Topics
Related items
- MediumCVE-2026-109296: Open WebUI missing authorization lets users reach disabled model backendsSame vendor · NVD/CVE Database
- MediumCVE-2026-107430: VideoWhisper Site Manager for ChatGPT, Claude, Codex missing authorization checkSame vendor · NVD/CVE Database
- MediumCVE-2026-100609: Flowise credential lookup by ID bypasses workspace isolationSame vendor · NVD/CVE Database
- MediumCVE-2026-100528: OpenClaw credential exposure to wrong endpoint after model config hot reloadSame vendor · NVD/CVE Database
- MediumCVE-2025-14486: PixelPlay WordPress plugin unauthorized API key deletion via clear_api_typeSame vendor · NVD/CVE Database