Anthropics claude-code
Claude Code vulnerable to command execution prior to startup trust dialog
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.39
Fixed in 1.0.39
Mitigation
Upgrade claude-code to 1.0.39 or later.
References
- Vendor advisory github.com/anthropics/claude-code/security/adv…
Timeline
Days relative to CVE publicationFirst public PoC 143 days before publication; not in CISA KEV. First PoC: b-faller/cve-2025-65099 (created 29 Jun 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| b-faller/cve-2025-65099 | 29 Jun 2025 −143 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.