Directory Trust Bypass in Claude Code Affected by Yarn Integration
CVE-2025-59828
7.7HIGH
What is CVE-2025-59828?
Claude Code, an advanced coding tool, has a vulnerability that allows Yarn plugins to be auto-executed when checking the Yarn version, prior to user consent on working in untrusted directories. This issue affects versions before 1.0.39 and poses significant security risks. Users running Yarn Classic remain unaffected. The vulnerability has been addressed and users are encouraged to update to the latest version to ensure their security.
Affected Version(s)
claude-code < 1.0.39