Skip to main content
← All vulnerabilities
CVE-2026-86063GHSA-PQ7J-F95F-QFCV

Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.179
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • anthropics claude-code

    fixed in 2.1.179

  • @anthropic-ai/claude-codenpm

    fixed in 2.1.179

References 2

GitHub · anthropics/claude-code