Skip to content
OpenAdvisories
High · 7.7 Public exploit CVE-2025-65099 EUVD-2025-198179GHSA-5hhx-v7f6-x7gv

Claude Code vulnerable to command execution prior to startup trust dialog

Published Nov 19, 2025 · Updated Nov 20, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
anthropics claude-code < 1.0.39 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @anthropic-ai/claude-code < 1.0.39 1.0.39 GHSA-5hhx-v7f6-x7gv

References