Claude Code<1.039: Yarn Plugin Exec Before Trust Dialog
CVE-2025-65099 Published on November 19, 2025
Claude Code vulnerable to command execution prior to startup trust dialog
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 Type
What is a Code Injection Vulnerability?
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CVE-2025-65099 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2025-65099
Want to know whenever a new CVE is published for Anthropic Claude Code? stack.watch will email you.
Affected Versions
anthropics claude-code Version < 1.0.39 is affected by CVE-2025-65099Vulnerable Packages
The following package name and versions may be associated with CVE-2025-65099
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| npm | @anthropic-ai/claude-code | < 1.0.39 | 1.0.39 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.