CVE-2026-86063 Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/devspaces/pluginregistry-rhel9:1792495212(Red Hat openshift_devspaces 3.31 el9) | All versions | No fix listed | No fix yet |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 2.1.179 | 2.1.179 | Fixed |
| anthropics claude-code | = < 2.1.179 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| anthropics claude-code | = < 2.1.179 | No fix listed |
| redhat/devspaces/pluginregistry-rhel9:1792495212(Red Hat:openshift_devspaces:3.31::el9) | All versions | No fix listed |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 2.1.179 | 2.1.179 |
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv vendor-advisory
- https://github.com/anthropics/claude-code/releases/tag/v2.1.179
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:90321 patch vendor-advisory
- Red Hat Bugzilla 2551595 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-100461 third-party-advisory