Skip to main content
Report · Check Point ResearchAbout CVE-2025-61260Published

CVE-2025-61260 — OpenAI Codex CLI: Command Injection via Project-Local Configuration

Source Check Point Research

0
Compare
Authoritative record:CVE-2025-61260· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
npmopenai/codex-clipkg:npm/openai/codex-cliOther threatsAffected
  • <=0.23.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately update all OpenAI Codex CLI installations to version 0.23.0 or later, which includes the fix preventing project-local CODEX_HOME redirection and automatic execution of MCP server commands from untrusted locations.
  2. Audit all repositories for the presence of .env files setting CODEX_HOME and ./.codex/config.toml files containing mcp_servers entries; remove or sanitize any suspicious or unnecessary configurations.
  3. Implement strict repository access controls and code review policies to prevent unauthorized commits or merges that could introduce malicious project-local configurations.
  4. Educate developers about the risks of running Codex CLI on untrusted or newly cloned repositories without verification.
  5. Integrate static analysis or automated scanning tools into CI pipelines to detect and block commits containing potentially dangerous MCP configurations.
  6. Monitor developer machines and CI environments for unusual Codex CLI activity or unexpected command executions.
  7. Consider isolating Codex CLI execution environments using containerization or sandboxing to limit the impact of potential command injection.
  8. Maintain an inventory of all development tools and their versions to ensure timely patching of vulnerabilities.
  9. Collaborate with supply-chain security teams to vet third-party and open-source repositories for malicious configurations before adoption.

Description

By: Isabel Mill &#38; Oded Vanunu OpenAI Codex CLI is OpenAI&#8217;s command-line tool that brings AI model-backed reasoning into developer workflows. It can read, edit, and run code directly from the terminal, making it possible to interact with projects using natural language commands, automate tasks, and streamline day-to-day development One of its key features is [&#8230;] The post CVE-2025-61260 — OpenAI Codex CLI: Command Injection via Project-Local Configuration appeared first on Check Point Research .

References

Community reviews

Loading reviews…