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-111372: AI ChatBot for WooCommerce WoowBot plugin authorization bypass in RAG syncSame vendor · NVD/CVE Database
- HighCVE-2026-107685: req_llm WebSocket streaming client accepts untrusted TLS certificatesSame vendor · NVD/CVE Database
- MediumCVE-2026-113459: TYPO3 OpenAI API key exposed to backend users in page sourceSame vendor · NVD/CVE Database
- MediumCVE-2026-109296: Open WebUI missing authorization lets users reach disabled model backendsSame vendor · NVD/CVE Database
- MediumCVE-2026-107430: VideoWhisper Site Manager for ChatGPT, Claude, Codex missing authorization checkSame vendor · NVD/CVE Database