gcdRadar
archive/Patch now/AIR-2025-0443
closedclosed 25 Jul 2025Patch now2 Disclosed vulnerabilityAI

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

Timeline · 1

  1. 25 Jul 2025CVE-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…

Sources · 1

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

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
dates
happened 25 Jul 2025 · first reported 25 Jul 2025
origin
NVD
Vulnerability 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

  1. closed7.3
    AI
  2. closed8.8
    OpenAI Codex OpenAI Codex CLI and Desktop vulnerable to command safety bypass

    Patch now · Disclosed · since 1 Sep 2026 · CVE-2026-19591

    AI
  3. closed9.8
    AI
  4. closed8.6
    OpenAI 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
  5. closed6.3
    Flowise CVE-2026-73603: Chatflow visibility bypass in Flowise TTS endpoint

    Patch now · Disclosed · since 13 Aug 2026 · CVE-2026-73603

    AI
  6. closed9.9
    Flowise CVE-2026-67622: Flowise IDOR vulnerability in OpenAI Assistants integration

    Patch now · Disclosed · since 6 Aug 2026 · CVE-2026-67622

    AI