Skip to main content
← All vulnerabilities
CVE-2025-55345

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • @openai/codex

    fixed in 0.12.0

References 2

research.jfrog.com

GitHub · openai/codex