CriticalVulnerabilityLLM-specific
CVE-2025-59828: Claude Code trust dialog bypass through Yarn plugin auto-execution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-59828
- Published
- Record updated
- Affected
- @anthropic-ai/claude-code < 1.0.39
- Fixed in
- 1.0.39
- released July 1, 2025, 85 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
CVE-2025-59828 affects Claude Code before version 1.0.39 when used with Yarn 2.0+. Yarn plugins execute automatically when yarn --version runs, which can bypass the directory trust dialog because plugins run before the user accepts the risks of an untrusted directory. Users of Yarn Classic were not affected.
Mitigation
This issue has been fixed in version 1.0.39. Users on standard Claude Code auto-update received the fix automatically. Users performing manual updates are advised to update to the latest version.
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online