Codex CLI CVE-2025-59532: model-chosen cwd bypassed sandbox boundary
Listed: it resets no counter.
A bug in Codex CLI's sandbox configuration let a model-generated working directory become the sandbox's writable root, including paths outside the user's session folder. This allowed arbitrary file writes and command execution outside the intended workspace. It was fixed in 0.39.0.
- Disclosed
- Sep 19, 2025
- Tags
- codex, cve-2025-59532, openai
What it did to the counters
-
sandbox vulnerability
It's listed, but doesn't reset the counter.
Vulnerability
Sources
- GitLab Advisory Database: CVE-2025-59532 advisories.gitlab.com