CVE-2025-65099 Details
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.
A command execution vulnerability has been identified in Claude Code versions prior to 1.0.39, when running on a machine with Yarn 3.0 or above. The issue arises from the application's ability to execute code from a project via Yarn plugins before the user has accepted the startup trust dialog. Exploitation of this vulnerability would require the user to launch Claude Code in an untrusted directory while using Yarn 3.0 or above.
Users on the standard Claude Code auto-update will have received the fix automatically. Those performing manual updates are advised to update to the latest version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gv | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| anthropic claude code | < 1.0.39 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Nov 19, 2025 | New CVE Received | [email protected] |