# 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.

- Severity: Medium 4.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-07-25T00:00:00.000Z
- Modified: 2026-06-17T09:40:18.280Z
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- OpenAI Codex CLI: before 0.9.0

## References

- <https://github.com/openai/codex/pull/1644>
- <https://github.com/openai/codex/compare/rust-v0.8.0...rust-v0.9.0>
- <https://github.com/openai/codex/commit/6cf4b96f9dbbef8a94acc1ff703eb118481514d8>

## Sources

- CVE List: [CVE-2025-54558](https://www.cve.org/CVERecord?id=CVE-2025-54558), CVE Terms of Use, modified 2025-07-25
- NVD: [CVE-2025-54558](https://nvd.nist.gov/vuln/detail/CVE-2025-54558), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54558 · Whole record: https://cve.day/CVE-2025-54558.json · Rebuilt by cve.day 2026-11-25T22:59:01.651Z
