Auth bypass in Anthropic Claude Code
CVE-2025-59828
Claude Code is an agentic coding tool. Prior to Claude Code version 1.0.39, when using Claude Code with Yarn versions 2.0+, Yarn plugins are auto-executed when running yarn --version. This could lead to a bypass of the directory trust dialog in Claude Code, as plugins would be executed prior to the user accepting the risks of working in an untrusted directory. Users running Yarn Classic were unaffected by this issue. This issue has been fixed in version 1.0.39. 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (27.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 27.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Anthropic Claude Code
- Anthropics Claude-Code — versions < 1.0.39
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/anthropics/claude-code/security/advisories/GHSA-2jjv-qf24-vfm4 (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-59828?
- CVE-2025-59828 is a critical-severity vulnerability in Anthropic Claude Code, classified under Inclusion of Functionality from Untrusted Control Sphere. CVSS score: 9.8/10. Published 2025-09-24.
- How severe is CVE-2025-59828?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-59828 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.