Vulnerabilities

Vulnerability · 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 -z flag.

Published Jul 25, 2025 · catalog updated Jul 25, 2025 · OpenAI Codex CLI

Check this week

CVE-2025-54558 is not in CISA KEV. FIRST estimates a 21.00% chance of exploitation in the next 30 days. Check whether you run OpenAI Codex CLI.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium4.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
21.00%
Remediation
Version ranges on file
Affected products
vendor OpenAI Codex CLI 0 <0.9.0

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor OpenAI Codex CLI 0 <0.9.00 <0.9.0

How to fix CVE-2025-54558

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-54558 is not in CISA KEV. FIRST estimates a 21.00% chance of exploitation in the next 30 days. Check whether you run OpenAI Codex CLI.

Which versions are affected?

Compare what you have installed with OpenAI Codex CLI 0 <0.9.0 0 <0.9.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 21.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 25, 2025 · EUVD

    Detected

    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.

Sources

  • CVE.orgVulnerability recordCVE-2025-54558

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-22560

    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.

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Jul 25, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.