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.
Cite this page
CVE-2025-59828. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2025-59828
Use CWE-829, Anthropic vendor hub and Claude Code product page to widen CVE-2025-59828 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-35022, CVE-2026-35020 and CVE-2026-35021 for nearby disclosures in the same product family.