MediumVulnerabilityLLM-specific
CVE-2025-54558: OpenAI Codex CLI auto-approves ripgrep execution with dangerous flags
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-54558
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
CVE-2025-54558 affects OpenAI Codex CLI versions before 0.9.0, which auto-approve execution of ripgrep (rg) even when the --pre, --hostname-bin, --search-zip or -z flag is present. The weakness is classified as CWE-829, Inclusion of Functionality from Untrusted Control Sphere. NVD has not yet provided an assessment.
Mitigation
Fixed in 0.9.0. The fix is in commit 6cf4b96f9dbbef8a94acc1ff703eb118481514d8 and pull request openai/codex#1644, covering the change from rust-v0.8.0 to rust-v0.9.0.
Related items
- MediumCVE-2026-130358: AdminNeo before 5.9.1 contains a missing authentication vulnerability in the ClaudeSqlPlugin, GeminiSqlPlugin, and…Same vendor · NVD/CVE Database
- HighZDI-26-968: (Pwn2Own) OpenAI Codex GUI OpenProjectInCodex Argument Injection Remote Code Execution VulnerabilitySame vendor · ZDI Published Advisories
- MediumGHSA-68g8-gh8f-7rhg: pgEdge RAG Server discloses part of the configured provider credential through API error messagesSame vendor · GitHub Advisory Database
- InfoCVE-2026-119990 Azure OpenAI Elevation of Privilege VulnerabilitySame vendor · MSRC Security Update Guide
- HighCVE-2026-110930: Codex Desktop for Windows argument injection via quoted project pathsSame vendor · NVD/CVE Database