Skip to content

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

HighCVSS 7.7 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
anthropic-ai @anthropic-ai/claude-code(npm) < 1.0.39 1.0.39
anthropics claude-code = < 1.0.39 No fix listed
Anthropic claude code < 1.0.39 1.0.39

References