CVE-2025-55345
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by JFROG
Exploit likelihood
1.10% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
@openai/codexbefore 0.12.0CVE List

Classification

CWE-61

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El uso de Codex CLI en modo de escritura en el espacio de trabajo dentro de un contexto malicioso (repositorio, directorio, etc.) podría provocar la sobrescritura arbitraria de archivos y potencialmente la ejecución remota de código debido a que se siguen enlaces simbólicos fuera del directorio de trabajo actual permitido.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-55345 changed 2025-08-13CVE Terms of Use
NVDCVE-2025-55345 changed 2026-06-17Public domain