
Cloud Vulnerability DB
A community-led vulnerabilities database
Claude Code, an agentic coding tool, was found to have a security vulnerability (CVE-2025-59828) affecting versions prior to 1.0.39. The vulnerability was discovered and disclosed on September 24, 2025, specifically impacting installations using Yarn versions 2.0+ while users of Yarn Classic remained unaffected (GitHub Advisory).
The vulnerability involves the automatic execution of Yarn plugins when running yarn --version command, which could lead to a bypass of the directory trust dialog in Claude Code. The plugins would execute before users could accept the risks of working in an untrusted directory. The vulnerability has been assigned a CVSS v4.0 base score of 7.7 (High) with the vector string 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 Advisory).
The vulnerability could potentially lead to arbitrary code execution through plugin autoloading, compromising the security of the affected systems. The CVSS scoring indicates high impacts on confidentiality, integrity, and availability of the vulnerable system (GitHub Advisory).
The vulnerability has been patched in Claude Code version 1.0.39. Users with standard Claude Code auto-update enabled have automatically received the fix. Those performing manual updates are advised to update to the latest version immediately (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."