CVE-2026-86063 · GHSA-pq7j-f95f-qfcv
Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
- Risk score
- 56/100
- CVSS
- 7.5 v4.0
- Exploit chance (30 days)
- 0.2%
- Published
- 13 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 SH…
- Affected
- @anthropic-ai/claude-code (npm) < 2.1.179
- Fix
- Upgrade @anthropic-ai/claude-code to 2.1.179 or later.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 7.5 high
- Remotely exploitable without logging in
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| @anthropic-ai/claude-code | npm | < 2.1.179 | 2.1.179 |
References
Original 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.
Last activity 13 Oct 2026. Patch Forecast updates every hour.