CVE-2025-65099
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.
How to fix
- anthropic claude_code1.0.39 or later
- @anthropic-ai/claude-code1.0.39 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| anthropic claude_code | v < 1.0.39 | 1.0.39 |
| @anthropic-ai/claude-codenpm | v < 1.0.39 | 1.0.39 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.