Execution Flaw in OpenAI Codex CLI Software
CVE-2025-54558

4.1MEDIUM

Key Information:

Vendor

Openai

Status
Vendor
CVE Published:
25 July 2025

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

References

CVSS V3.1

Score:
4.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-54558 : Execution Flaw in OpenAI Codex CLI Software