Vulnerabilities in pkg:npm/@anthropic-ai/claude-code
PACKAGECVE-2026-86063 is a HIGH plugin hash pin bypass allows vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting Claude Code libraries in the npm ecosystem. The issue involves plugin hash pin bypass allows bypass of hash pinning. Remediation is available by upgrading affected packages to version 2.1.179.
pkg:npm/@anthropic-ai/claude-code
Vulnerability advisories affecting package pkg:npm/@anthropic-ai/claude-code. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-pq7j-f95f-qfcv | CVE-2026-86063 | HIGH | Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning |
| GHSA-7835-87q9-rgvv | CVE-2026-55607 | HIGH | Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execution |
| GHSA-fg94-h982-f3mm | CVE-2026-54316 | MODERATE | Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch |
| GHSA-4vp2-6q8c-pvq2 | CVE-2026-46406 | MODERATE | @anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File Write |
| GHSA-q5hj-mxqh-vv77 | CVE-2026-40068 | HIGH | Claude Code: Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution |
| GHSA-vp62-r36r-9xqp | CVE-2026-39861 | HIGH | Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace |
| GHSA-5cwg-9f6j-9jvx | CVE-2026-35603 | MODERATE | Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows |
| GHSA-4q92-rfm6-2cqx | CVE-2026-25724 | LOW | Claude Code has Permission Deny Bypass Through Symbolic Links |
| GHSA-mmgp-wc2j-qcv7 | CVE-2026-33068 | HIGH | Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File |
| GHSA-ff64-7w26-62rf | CVE-2026-25725 | HIGH | Claude Code has Sandbox Escape via Persistent Configuration Injection in settings.json |
| GHSA-mhg7-666j-cqg4 | CVE-2026-25723 | HIGH | Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions |
| GHSA-66q4-vfjg-2qhh | CVE-2026-25722 | HIGH | Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection |
| GHSA-q728-gf8j-w49r | CVE-2026-24053 | HIGH | Claude Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes |
| GHSA-qgqw-h4xq-7w8w | CVE-2026-24887 | HIGH | Claude Code has a Command Injection in find Command Bypasses User Approval Prompt |
| GHSA-vhw5-3g5m-8ggf | CVE-2026-24052 | HIGH | Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains |
| GHSA-jh7p-qr78-84p7 | CVE-2026-21852 | MODERATE | Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation |
| GHSA-2jjv-qf24-vfm4 | CVE-2025-59828 | HIGH | Claude Code Vulnerable to Arbitrary Code Execution via Plugin Autoloading with Specific Yarn Versions |
| GHSA-5hhx-v7f6-x7gv | CVE-2025-65099 | HIGH | Claude Code vulnerable to command execution prior to startup trust dialog |
| GHSA-xq4m-mc3c-vvg3 | CVE-2025-66032 | HIGH | Claude Code Command Validation Bypass Allows Arbitrary Code Execution |
| GHSA-7mv8-j34q-vp7q | CVE-2025-64755 | HIGH | @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes |
| GHSA-66m2-gx93-v996 | CVE-2025-59829 | LOW | Claude Code permission deny bypass through symlink |
| GHSA-4fgq-fpq9-mr3g | CVE-2025-59536 | HIGH | Claude Code can execute commands prior to the startup trust dialog |
| GHSA-j4h9-wv2m-wrf7 | CVE-2025-59041 | HIGH | Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email |
| GHSA-qxfv-fcpc-w36x | CVE-2025-58764 | HIGH | Claude Code rg vulnerability does not protect against approval prompt bypass |
| GHSA-ph6w-f82w-28w6 | - | HIGH | Claude Code Vulnerable to Arbitrary Code Execution Due to Insufficient Startup Warning |
| GHSA-x5gv-jw7f-j6xj | CVE-2025-55284 | HIGH | Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude Code |
| GHSA-x56v-x2h6-7j34 | CVE-2025-54795 | HIGH | Claude Code echo command allowed bypass of user approval prompt for command execution |
| GHSA-pmw4-pwvc-3hx2 | CVE-2025-54794 | HIGH | Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access |
| GHSA-9f65-56v6-gxw7 | CVE-2025-52882 | HIGH | Claude Code Improper Authorization via websocket connections from arbitrary origins |
CVE-2026-86063 at a Glance
How to Fix CVE-2026-86063
To remediate this vulnerability, upgrade all affected Claude Code dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @anthropic-ai/claude-code@2.1.179
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @anthropic-ai/claude-code
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-86063, inspect your project dependencies using npm:
npm ls @anthropic-ai/claude-code
Analyze the terminal output to locate any version of Claude Code in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.179), your application is affected.
Note: The npm ls @anthropic-ai/claude-code command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-829: Inclusion of Functionality from Untrusted Control Sphere, where the product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. In Claude Code, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-86063 Affected Claude Code Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@anthropic-ai/claude-code
|
npm |
< 2.1.179
|
2.1.179
|
References
Frequently Asked Questions
What is CVE-2026-86063?
Which Claude Code versions are affected?
What version fixes CVE-2026-86063?
Is @anthropic-ai/claude-code affected?
What CWE is associated with CVE-2026-86063?
How can I check npm dependencies for CVE-2026-86063?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pq7j-f95f-qfcv",
"modified" : "2026-10-15T20:22:07Z",
"published" : "2026-10-15T20:22:07Z",
"aliases" : [ "CVE-2026-86063" ],
"summary" : "Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning",
"details" : "The plugin install flow in Claude Code and Claude Desktop checked out a marketplace's pinned commit SHA using `git checkout` without verifying that the resulting HEAD matched the pinned SHA. An attacker controlling a plugin's upstream repository could create a branch named identically to the pinned 40-character SHA, causing the checkout to silently resolve to the attacker's branch tip instead of the reviewed commit, resulting in attacker-controlled code being installed bypassing the pinned hash. Exploitation required a user to install a malicious plugin, pin to a safe hash, and for the plugin source to be hosted on a git host that permitted SHA-shaped branch names.\n\nUsers on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.\n\nThank you to Or Nevo Michrowski of Air Security for reporting this issue.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@anthropic-ai/claude-code"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.179"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-86063"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anthropics/claude-code"
}, {
"type" : "WEB",
"url" : "https://github.com/anthropics/claude-code/releases/tag/v2.1.179"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-494", "CWE-829" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-15T20:22:07Z",
"nvd_published_at" : "2026-10-13T19:21:21Z"
}
}