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.
CVE-2025-61260
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-04-14. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 93.1%
- KEV
- Not listed
Published
April 14, 2026
Last Modified
July 5, 2026
Advisory Details (1)
Auto-updated Jul 11, 2026OpenAI Codex CLI Vulnerability: Command Injection
https://research.checkpoint.com/2025/openai-codex-cli-command-injection-vulnerability/Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| npm | @openai/codex | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| @openai/codex | — | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 170 total refreshes for this CVE.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-15 04:01 UTCEG score recompute
- 2026-06-15 04:00 UTCGHSA enrichment
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 21:31 UTCEG score recompute
- 2026-06-14 21:31 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 06:45 UTCEG score recompute
- 2026-06-12 06:45 UTCGHSA enrichment
- 2026-06-12 02:54 UTCEG score recompute
- 2026-06-12 02:54 UTCGHSA enrichment
- 2026-06-11 23:12 UTCEG score recompute
- 2026-06-11 23:12 UTCGHSA enrichment
- 2026-06-11 19:30 UTCEG score recompute
- 2026-06-11 19:30 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 19:40 UTCEG score recompute
- 2026-06-10 19:40 UTCGHSA enrichment
- 2026-06-10 15:58 UTCEG score recompute
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 12:16 UTCEG score recompute
- 2026-06-10 12:16 UTCGHSA enrichment
- 2026-06-10 08:33 UTCEG score recompute
- 2026-06-10 08:33 UTCGHSA enrichment
- 2026-06-10 04:51 UTCEG score recompute
- 2026-06-10 04:51 UTCGHSA enrichment
- 2026-06-10 00:40 UTCEG score recompute
- 2026-06-10 00:40 UTCGHSA enrichment
- 2026-06-09 18:19 UTCEG score recompute
- 2026-06-09 18:19 UTCGHSA enrichment
- 2026-06-09 14:37 UTCEG score recompute
- 2026-06-09 14:37 UTCGHSA enrichment
- 2026-06-09 10:55 UTCEG score recompute
- 2026-06-09 10:55 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 12:23 UTCEG score recompute
- 2026-06-08 12:23 UTCGHSA enrichment
- 2026-06-08 08:20 UTCEG score recompute
- 2026-06-08 08:20 UTCGHSA enrichment
- 2026-06-08 04:38 UTCEG score recompute
- 2026-06-08 04:38 UTCGHSA enrichment
- 2026-06-08 00:52 UTCEG score recompute
- 2026-06-08 00:52 UTCGHSA enrichment
- 2026-06-07 21:09 UTCEG score recompute
- 2026-06-07 21:09 UTCGHSA enrichment
- 2026-06-07 17:27 UTCEG score recompute
- 2026-06-07 17:27 UTCGHSA enrichment
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(5)
What is CVE-2025-61260?
When was CVE-2025-61260 disclosed?
Is CVE-2025-61260 actively exploited?
What is the CVSS score of CVE-2025-61260?
How do I remediate CVE-2025-61260?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-61260
Is Your Infrastructure Affected by CVE-2025-61260?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.