Skip to main content
← All vulnerabilities
CVE-2025-65099GHSA-5HHX-V7F6-X7GV

Claude Code vulnerable to command execution prior to startup trust dialog

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.39
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • anthropics claude-code

    fixed in 1.0.39

  • @anthropic-ai/claude-codenpm

    fixed in 1.0.39

References 2

GitHub · anthropics/claude-code

GitHub · b-faller/cve-2025-65099