High severityNVD Advisory· Published Nov 19, 2025· Updated Nov 20, 2025
Claude Code vulnerable to command execution prior to startup trust dialog
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@anthropic-ai/claude-codenpm | < 1.0.39 | 1.0.39 |
Affected products
2- Range: < 1.0.39
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-5hhx-v7f6-x7gvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-65099ghsaADVISORY
- github.com/anthropics/claude-code/security/advisories/GHSA-5hhx-v7f6-x7gvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.