7.7High

CVE-2025-65099Claude Code vulnerable to command execution prior to startup trust dialog

anthropics claude-code Published: (11 months ago)

Description

Claude Code is an agentic coding tool. Prior to version 1.0.39, when running on a machine with Yarn 3.0 or above, Claude Code could have been tricked to execute code contained in a project via yarn plugins before the user accepted the startup trust dialog. Exploiting this would have required a user to start Claude Code in an untrusted directory and to be using Yarn 3.0 or above. This issue has been patched in version 1.0.39.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
anthropic claude code < 1.0.39
anthropics claude-code < 1.0.39

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* < 1.0.39