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.
Date: 2025-07
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-54558
CWE: CWE-829
CVSS: 4.1 (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):