Execution Flaw in OpenAI Codex CLI Software
CVE-2025-54558
4.1MEDIUM
What is CVE-2025-54558?
A vulnerability exists in the OpenAI Codex CLI prior to version 0.9.0, where the software automatically approves the execution of the ripgrep (rg) command. This occurs even when potentially unsafe flags such as --pre, --hostname-bin, --search-zip, or -z are provided. This flaw could lead to unauthorized command execution, making it crucial for users to update to the latest version to mitigate associated risks.
Affected Version(s)
Codex CLI 0 < 0.9.0