{"id":"CVE-2025-61260","aliases":[],"url":"https://o3.security/vulnerability/CVE-2025-61260","summary":"OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files","details":"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.","published":"2026-04-14T15:30:34Z","modified":"2026-04-16T23:03:50.033333Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@openai/codex","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61260"},{"type":"PACKAGE","url":"https://github.com/openai/codex"},{"type":"WEB","url":"https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability"},{"type":"WEB","url":"http://openai.com"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T23:03:50.033333Z"}}