CVE-2025-54558
OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or -...
CVE-2025-54558 is a medium vulnerability (CVSS 4.1) in Openai Codex Cli, published July 25, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 13th percentile. No source names a fixed version.
- Severity
- 4.1 MediumCVSS 3.1, CVE List
- Exploit chance
- 0.23%EPSS, 13th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
- No fix listedNo source names one
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
Affected products
What each source reports
CVE List Score used 4.1
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.
- Record
CVE-2025-54558- CVSS 3.1
- 4.1 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-829
- Updated
- 2026-11-02
EUVDEUVD-2025-22560 4.1
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.
- Record
EUVD-2025-22560- CVSS 3.1
- 4.1 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-q6hp-29g8-7j6j 4.1
OpenAI Codex CLI before 0.9.0 auto-approves ripgrep (aka rg) execution even with the --pre or -...
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.
- Record
GHSA-q6hp-29g8-7j6j- CVSS 3.1
- 4.1 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-829
- Updated
- 2026-11-02
NVD 4.1
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.
- Record
CVE-2025-54558- CVSS 3.1
- 4.1 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-829
- Updated
- 2026-11-02
OSV 4.1
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.
- Record
CVE-2025-54558- CVSS 3.1
- 4.1 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-829
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/openai/codex/pull/1644
github.com/openai/codex/compare/rust-v0.8.0...rust-v0.9.0
github.com/openai/codex/commit/6cf4b96f9dbbef8a94acc1ff703eb118481514d8
nvd.nist.gov/vuln/detail/CVE-2025-54558
github.com/advisories/GHSA-q6hp-29g8-7j6j
github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54558.json