# CVE-2025-55345: Unsafe symlink following in restricted workspace-write sandbox leads to RCE

- Severity: High 8.8 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-13T08:55:14.016Z
- Modified: 2026-06-17T09:41:42.197Z
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: JFROG

## 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.

(As written by CVE List.)

## Affected

- @openai/codex: before 0.12.0

## References

- <https://research.jfrog.com/vulnerabilities/codex-cli-symlink-arbitrary-file-overwrite-jfsa-2025-001378631/> (exploit, third-party-advisory)
- <https://github.com/openai/codex/pull/1705> (patch)

## Sources

- CVE List: [CVE-2025-55345](https://www.cve.org/CVERecord?id=CVE-2025-55345), CVE Terms of Use, modified 2025-08-13
- NVD: [CVE-2025-55345](https://nvd.nist.gov/vuln/detail/CVE-2025-55345), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-55345 · Whole record: https://cve.day/CVE-2025-55345.json · Rebuilt by cve.day 2026-11-25T22:59:02.420Z
