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.
Published: 2026-10-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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

Thu, 15 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Anthropics
Anthropics claude Code
Vendors & Products Anthropics
Anthropics claude Code

Wed, 14 Oct 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 00:30:00 +0000

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


Tue, 13 Oct 2026 19:15:00 +0000

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'}


Subscriptions

Anthropics Claude Code
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T20:21:00.156Z

Reserved: 2026-09-04T19:34:03.099Z

Link: CVE-2026-86063

cve-icon Vulnrichment

Updated: 2026-10-13T20:14:07.826Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T19:21:21.417

Modified: 2026-10-13T21:19:36.730

Link: CVE-2026-86063

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-13T19:04:11Z

Links: CVE-2026-86063 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T17:15:14Z

Weaknesses
  • CWE-494

    Download of Code Without Integrity Check

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere