{"id":"CVE-2025-55345","aliases":["EUVD-2025-24554","GHSA-698g-97rr-xgjf"],"status":"published","title":"Unsafe symlink following in restricted workspace-write sandbox leads to RCE","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00904,"percentile":0.60102,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-61"],"published":"2025-08-13T08:55:14Z","modified":"2026-10-28T02:30:30Z","references":[{"url":"https://research.jfrog.com/vulnerabilities/codex-cli-symlink-arbitrary-file-overwrite-jfsa-2025-001378631/","tags":["third-party-advisory","exploit","advisory"]},{"url":"https://github.com/openai/codex/pull/1705","tags":["patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55345","tags":["advisory"]},{"url":"https://research.jfrog.com/vulnerabilities/codex-cli-symlink-arbitrary-file-overwrite-jfsa-2025-001378631"},{"url":"https://github.com/advisories/GHSA-698g-97rr-xgjf"},{"url":"https://www.npmjs.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55345.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-55345","title":"Unsafe symlink following in restricted workspace-write sandbox leads to RCE","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.","status":"published","published":"2025-08-13T08:55:14.016Z","modified":"2025-08-13T19:58:27.552Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T14:32:52.839698Z"}],"euvd":[{"id":"EUVD-2025-24554","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.","status":"published","published":"2025-08-13T08:55:14Z","modified":"2025-08-13T19:58:27Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:31:58.34572Z"}],"ghsa":[{"id":"GHSA-698g-97rr-xgjf","title":"Using Codex CLI in workspace-write mode inside a malicious context (repo, directory, etc) could...","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.","status":"published","published":"2025-08-13T09:30:32Z","modified":"2025-08-13T09:30:42Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T15:03:16.090631Z"}],"nvd":[{"id":"CVE-2025-55345","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.","status":"published","published":"2025-08-13T09:15:29.087Z","modified":"2026-06-17T09:41:42.197Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T14:11:23.594522Z"}],"osv":[{"id":"CVE-2025-55345","title":"Unsafe symlink following in restricted workspace-write sandbox leads to RCE","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.","status":"published","published":"2025-08-13T08:55:14.016Z","modified":"2026-10-28T02:30:30.318615313Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T15:44:50.863921Z"}]}}
