CVE-2025-54558

Medium

Description

OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or --hostname-bin or --search-zip or -z flag.

SeverityMedium
CVSS4.1
Exploit probability—
ProductCodex CLI
PublishedJul 25, 2025
First seenJul 25, 2025
Weakness typeCWE-829CWE-829

How to fix

Update
  • OpenAI Codex CLI0.9.0 or later

Affected products

ProductAffected versionsFixed in
OpenAI Codex CLIv < 0.9.00.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-54558 · Codex CLI · Dark Radar