Vulnerability 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.
CVSS Score
4.1
MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Related Weaknesses (CWE)
References
- https://github.com/openai/codex/commit/6cf4b96f9dbbef8a94acc1ff703eb118481514d8
- https://github.com/openai/codex/compare/rust-v0.8.0...rust-v0.9.0
- https://github.com/openai/codex/pull/1644
FAQ
What is CVE-2025-54558?
CVE-2025-54558 is a vulnerability with a CVSS score of 4.1 (MEDIUM). 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.
How severe is CVE-2025-54558?
CVE-2025-54558 has been rated MEDIUM with a CVSS base score of 4.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-54558?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.