CVE-2026-86063

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

Published Oct 13, 2026 CVSS 4.0 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The weakness lies in the plugin installation flow of Claude Code, where a git checkout is performed for a marketplace‑pinned commit but the resulting HEAD is never verified against the expected 40‑character SHA. Because of this, an attacker who can control a plugin repository on a Git host that allows SHA‑shaped branch names can create a branch whose name matches the pinned hash. The checkout will then move the repository to that branch tip, thereby installing attacker‑controlled plugin code under the guise of a legitimate, hashed update. Once installed, the plugin can run arbitrary code with the same privileges as the user, effectively granting the attacker remote code execution on the client machine.

Affected Systems

Current installations of Anthropics Claude Code and Claude Desktop running any version earlier than 2.1.179 are affected. The patch that addresses the issue was released in version 2.1.179.

Risk and Exploitability

The CVSS base score of 7.5 indicates high severity. EPSS data are not available, and the vulnerability is not listed in the CISA KEV catalog, implying that publicly known exploits are not yet reported. However, exploitation requires an attacker to supply a malicious plugin repository and persuade a user to install that plugin. If those conditions are met, the attacker can execute arbitrary code on the client system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Claude Code or Claude Desktop to version 2.1.179 or newer which validates the HEAD against the pinned SHA during plugin installation.
  • If an upgrade cannot be performed immediately, restrict plugin installation to trusted, signed repositories and manually confirm that the installed plugin’s commit hash matches the expected value before allowing it to run.
  • Disable automated plugin updates or enable a manual approval process so that users can inspect and consent to any plugin code before it is executed.

Generated by OpenCVE AI on October 14, 2026 at 08:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pq7j-f95f-qfcv Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
History
Type Values Removed Values Added
First Time appeared Anthropics
Anthropics claude Code
Vendors & Products Anthropics
Anthropics claude Code
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
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.
Title Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning
Weaknesses CWE-494
CWE-829
References
Metrics cvssV4_0

{'score': 7.5, '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'}

Weaknesses
  • CWE-494

    Download of Code Without Integrity Check

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 8:21 PM
Reserved
Sep 4, 2026, 7:34 PM
Status
Awaiting Analysis
Published
Oct 13, 2026, 7:21 PM
Modified
Oct 13, 2026, 9:19 PM
Severity
Important
Public date
Oct 13, 2026, 7:04 PM