CVE-2025-55345 Unsafe symlink following in restricted workspace-write sandbox leads to RCE
HighCVSS 8.8
EPSS 0.97%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
Using Codex CLI in workspace-write mode inside a malicious context (repo, directory, etc) could lead to arbitrary file overwrite and potentially remote code execution due to symlinks being followed outside the allowed current working directory.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| OpenAI @openai/codex(npm) | < 0.12.0 | 0.12.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenAI @openai/codex(npm) | < 0.12.0 | 0.12.0 |
References
- research.jfrog.com exploit third-party-advisory
- github.com patch