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.

Severity (CVSS 4.0)7.5High
Exploit odds (30 days)0.2%top 90.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@anthropic-ai/claude-code2.1.179GHSA-pq7j-f95f-qfcv

Affected products (as reported)

VendorProductVersions
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