CVE-2025-65099
criticalpriority · attend · 49EPSS 0.005 · 46 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- b-faller/cve-2025-65099b-faller/cve-2025-65099PoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-5hhx-v7f6-x7gvClaude Code vulnerable to command execution prior to startup trust dialog2025-11-19ghsa · osvUS
When using Claude Code with Yarn installed, Yarn config files can trigger code execution when running yarn --version. This could lead to a bypass of the directory trust dialog in Claude Code, as plugins and yarnPath could be executed prior to the user accepting the risks of working in an untrusted directory. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version. Thank you to Benjamin Faller, Redguard AG and Michael Hess for reporting this issue!
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gvcnnvd
- https://www.claude.com/downloadPatchcnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gvenisa_euvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gvThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan