{"id":"CVE-2025-65099","published":"2025-11-19T17:35:17Z","modified":"2025-11-20T14:20:44Z","title":"Claude Code vulnerable to command execution prior to startup trust dialog","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.4662,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.32},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 1.0.39"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-11-20T14:20:38.242298Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<1.0.39"],"patched":["1.0.39"],"from":["GHSA-5hhx-v7f6-x7gv"],"provenance":"source"}],"summary":{"text":"Claude Code, Anthropic's agentic coding tool, could execute code contained in a project through Yarn plugins before the user accepted the startup trust dialog when run with Yarn 3.0 or above. An attacker would need to lure a user into starting Claude Code in an untrusted directory while that user runs Yarn 3.0 or above, which requires user interaction and no prior authentication or network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:54Z"},"euvd":{"id":"EUVD-2025-198179","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-54795","published":"2025-08-05","fixed":"1.0.20","kev":false},{"cve":"CVE-2025-52882","published":"2025-06-24","fixed":"1.0.24","kev":false,"link":{"from":"CVE-2025-52882","to":"CVE-2025-65099","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"1.0.24","toFixed":"1.0.39","daysApart":148}]}},{"cve":"CVE-2025-59828","published":"2025-09-24","fixed":"1.0.39","kev":false},{"cve":"CVE-2025-65099","published":"2025-11-19","fixed":"1.0.39","kev":false},{"cve":"CVE-2025-66032","published":"2025-12-03","fixed":"1.0.93","kev":false,"link":{"from":"CVE-2025-65099","to":"CVE-2025-66032","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"1.0.39","toFixed":"1.0.93","daysApart":14}]}},{"cve":"CVE-2025-58764","published":"2025-09-10","fixed":"1.0.105","kev":false},{"cve":"CVE-2025-59041","published":"2025-09-10","fixed":"1.0.105","kev":false}],"package":"npm:@anthropic-ai/claude-code"}}