Auto-Approval Flaw in OpenAI Codex CLI
OpenAI Codex CLI
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
- CVSS
- 4.1
- EPSS
- <0.01 · top 87% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 25 Jul 2025
- last update
- 25 Jul 2025
- CVE ids
Timeline · 1
Sources · 1
Advisories and databases
- 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 gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- OpenAI, Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- tags
- cliauto-approval
- dates
- happened 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.
- record
- confidence 0.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# Auto-Approval Flaw in OpenAI Codex CLI https://gcdradar.vercel.app/incidents/auto-approval-flaw-in-openai-codex-cli · AIR-2025-0443 · closed 2025-07-25 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2025-07-25 - AI role: Attack on AI - Products: OpenAI Codex CLI - CVE ids: CVE-2025-54558 - CVSS: 4.1 ## Summary OpenAI Codex CLI auto-approves specific ripgrep tool execution flags that could pose security risks. The issue affects versions prior to 0.9.0. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2025-07-25: CVE-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… (https://nvd.nist.gov/vuln/detail/CVE-2025-54558) ## Sources - 2025-07-25 NVD: CVE-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… https://nvd.nist.gov/vuln/detail/CVE-2025-54558 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed7.3OpenAI Codex OpenAI Codex CLI and Desktop vulnerable to arbitrary code execution via Git metadata
Patch now · Disclosed · since 1 Sep 2026 · CVE-2026-19592
AI - closed8.8OpenAI Codex OpenAI Codex CLI and Desktop vulnerable to command safety bypass
Patch now · Disclosed · since 1 Sep 2026 · CVE-2026-19591
AI - closed9.8OpenAI Codex CVE-2025-61260: OpenAI Codex CLI enables code execution via malicious MCP files
Patch now · Disclosed · since 14 Apr 2026 · CVE-2025-61260
AI - closed8.6OpenAI Codex CVE-2025-59532: Sandbox bypass and arbitrary file write vulnerability in OpenAI Codex CLI
Patch now · Disclosed · since 22 Sep 2025 · updated 22 Sep 2025 · CVE-2025-59532
AI - closed6.3Flowise CVE-2026-73603: Chatflow visibility bypass in Flowise TTS endpoint
Patch now · Disclosed · since 13 Aug 2026 · CVE-2026-73603
AI - closed9.9Flowise CVE-2026-67622: Flowise IDOR vulnerability in OpenAI Assistants integration
Patch now · Disclosed · since 6 Aug 2026 · CVE-2026-67622
AI