{"cve":"CVE-2025-61260","nvd":{"published":"2026-04-14T15:16:24.487","modified":"2026-07-05T02:17:19.160","status":"Awaiting Analysis","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/","https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:30:49.762551342+00:00"},"epss":{"cve":"CVE-2025-61260","score":0.06583,"percentile":0.93835,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xrxf-jgv3-qmrm","url":"https://osv.dev/vulnerability/GHSA-xrxf-jgv3-qmrm","summary":"OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files","modified":"2026-04-16T23:11:28.675093Z","packages":[{"ecosystem":"npm","name":"@openai/codex","purl":"pkg:npm/%40openai/codex","ranges":["<=0.23.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}