CVEvulnerability

CVE-2025-59828

7.7 HIGH Published 2025-09-24 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-09-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 4.0 ([email protected])
7.7 HIGH — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-829, CWE-862

Description

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.

Affected configurations

• anthropic claude code (< 1.0.39)

Related

Weakness · CWE (2)

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere weakness
  • CWE-862 Missing Authorization weakness

Referenced by CWE · observed example (1)

  • CWE-356 Missing User Interaction for Potentially Unsafe Action weakness

References