Vulnerability · Published Oct 13, 2026 · Assigned by GitHub_M
CVE-2026-86063Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
High 7.5
In plain English
A high-severity security flaw in claude-code from anthropics. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Claude Code is an agentic coding tool. Prior to 2.1.179, the Claude Code and Claude Desktop plugin installation flow runs git checkout for a marketplace-pinned commit without verifying that the resulting HEAD equals the pinned 40-character SHA. An attacker who controls a plugin repository on a Git host that permits SHA-shaped branch names can create a branch named after the reviewed commit, causing checkout to select the branch tip and install attacker-controlled plugin code. Exploitation requires a user to install the malicious plugin and pin it to the ostensibly safe hash. This issue is fixed in version 2.1.179.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @anthropic-ai/claude-code | 2.1.179 | GHSA-pq7j-f95f-qfcv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| anthropics | claude-code | < 2.1.179 |
Weakness: CWE-494, CWE-829 · Vector: 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
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv x_refsource_CONFIRM
- https://github.com/anthropics/claude-code/releases/tag/v2.1.179 x_refsource_MISC