# CVE-2025-65099: Claude Code vulnerable to command execution prior to startup trust dialog

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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): 0.55%, higher than 47% of CVEs (2026-12-02)
- Published: 2025-11-19T17:35:17.349Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-5hhx-v7f6-x7gv
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Claude Code is an agentic coding tool. Prior to version 1.0.39, when running on a machine with Yarn 3.0 or above, Claude Code could have been tricked to execute code contained in a project via yarn plugins before the user accepted the startup trust dialog. Exploiting this would have required a user to start Claude Code in an untrusted directory and to be using Yarn 3.0 or above. This issue has been patched in version 1.0.39.

(As written by CVE List.)

## Affected

- anthropics claude-code: < 1.0.39
- @anthropic-ai/claude-code (npm): before 1.0.39
- anthropic claude_code: before 1.0.39

## Every score

- GitHub_M: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gv> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65099> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2025-65099](https://www.cve.org/CVERecord?id=CVE-2025-65099), CVE Terms of Use, modified 2025-11-20
- GitHub Advisory Database: [GHSA-5hhx-v7f6-x7gv](https://github.com/advisories/GHSA-5hhx-v7f6-x7gv), CC-BY-4.0, modified 2025-12-22
- NVD: [CVE-2025-65099](https://nvd.nist.gov/vuln/detail/CVE-2025-65099), Public domain, modified 2026-10-18

---

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