CVE-2025-59532
Last modified
CVE-2025-59532 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. Codex CLI is a coding agent from OpenAI that runs locally. In versions 0.2.0 to 0.38.0, due to a bug in the sandbox configuration logic, Codex CLI could treat a model-generated cwd as the sandbox’s writable root, including paths outside of the folder where the user started their session. EPSS estimates a 0.81% chance of exploitation in the next 30 days.
Description
Codex CLI is a coding agent from OpenAI that runs locally. In versions 0.2.0 to 0.38.0, due to a bug in the sandbox configuration logic, Codex CLI could treat a model-generated cwd as the sandbox’s writable root, including paths outside of the folder where the user started their session. This logic bypassed the intended workspace boundary and enables arbitrary file writes and command execution where the Codex process has permissions - this did not impact the network-disabled sandbox restriction. This issue has been patched in Codex CLI 0.39.0 that canonicalizes and validates that the boundary used for sandbox policy is based on where the user started the session, and not the one generated by the model. Users running 0.38.0 or earlier should update immediately via their package manager or by reinstalling the latest Codex CLI to ensure sandbox boundaries are enforced. If using the Codex IDE extension, users should immediately update to 0.4.12 for a fix of the sandbox issue.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-59532?
How severe is CVE-2025-59532?
How do I fix CVE-2025-59532?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-59527Flowise is a drag & drop user interface to build a customize…7.5
- CVE-2025-59528Flowise is a drag & drop user interface to build a customize…10
- CVE-2025-59529Avahi is a system which facilitates service discovery on a l…5.5
- CVE-2025-5953The WP Human Resource Management plugin for WordPress is vul…8.8
- CVE-2025-59530quic-go is an implementation of the QUIC protocol in Go. In …7.5
- CVE-2025-59531Argo CD is a declarative, GitOps continuous delivery tool fo…7.5
- CVE-2025-59534CryptoLib provides a software-only solution using the CCSDS …7.8
- CVE-2025-59535DNN (formerly DotNetNuke) is an open-source web content mana…6.5
- CVE-2025-59536Claude Code is an agentic coding tool. Versions before 1.0.1…8.8
- CVE-2025-59537Argo CD is a declarative, GitOps continuous delivery tool fo…7.5
- CVE-2025-59538Argo CD is a declarative, GitOps continuous delivery tool fo…7.5
- CVE-2025-59539DNN (formerly DotNetNuke) is an open-source web content mana…5.4
Are you affected by CVE-2025-59532?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
