Skip to content
OpenAdvisories
High · 8.8 CVE-2025-55345 EUVD-2025-24554GHSA-698g-97rr-xgjf

Unsafe symlink following in restricted workspace-write sandbox leads to RCE

Published Aug 13, 2025 · Updated Aug 13, 2025 · 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.

Affected products

VendorProductAffectedFixed
— @openai/codex < 0.12.0 0.12.0

References