Auto-Approval Flaw in OpenAI Codex CLI
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
OpenAI Codex CLI auto-approves specific ripgrep tool execution flags that could pose security risks. The issue affects versions prior to 0.9.0.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- OpenAI, Framework / tooling
- products
- OpenAI Codex CLI
- incident date
- 25 Jul 2025
- first reported
- 25 Jul 2025
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-54558 · cli · auto-approval
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2025-07-25CVE-2025-54558: OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or…NVD · nvd.nist.gov/vuln/detail/CVE-2025-54558
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-09-01OpenAI Codex CLI and Desktop vulnerable to arbitrary code execution via Git metadata2 Disclosedon AIInfra vuln1 src
- 2026-09-01OpenAI Codex CLI and Desktop vulnerable to command safety bypass2 Disclosedon AIInfra vuln1 src
- 2026-04-14CVE-2025-61260: OpenAI Codex CLI enables code execution via malicious MCP files2 Disclosedon AIInfra vuln2 src
- 2025-09-19CVE-2025-59532: Sandbox bypass and arbitrary file write vulnerability in OpenAI Codex CLI2 Disclosedon AIInfra vuln2 src
- 2026-08-13CVE-2026-73603: Chatflow visibility bypass in Flowise TTS endpoint2 Disclosedon AIInfra vuln1 src
- 2026-08-06CVE-2026-67622: Flowise IDOR vulnerability in OpenAI Assistants integration2 Disclosedon AIInfra vuln1 src