Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @anthropic-ai/claude-code
  4. ›
  5. CVE-2026-86063

CVE-2026-86063: Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning

October 15, 2026

The plugin install flow in Claude Code and Claude Desktop checked out a marketplace’s pinned commit SHA using git checkout without verifying that the resulting HEAD matched the pinned SHA. An attacker controlling a plugin’s upstream repository could create a branch named identically to the pinned 40-character SHA, causing the checkout to silently resolve to the attacker’s branch tip instead of the reviewed commit, resulting in attacker-controlled code being installed bypassing the pinned hash. Exploitation required a user to install a malicious plugin, pin to a safe hash, and for the plugin source to be hosted on a git host that permitted SHA-shaped branch names.

Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.

Thank you to Or Nevo Michrowski of Air Security for reporting this issue.

References

  • github.com/advisories/GHSA-pq7j-f95f-qfcv
  • github.com/anthropics/claude-code/releases/tag/v2.1.179
  • github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv
  • nvd.nist.gov/vuln/detail/CVE-2026-86063

Code Behaviors & Features

Detect and mitigate CVE-2026-86063 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.179

Fixed versions

  • 2.1.179

Solution

Upgrade to version 2.1.179 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-494: Download of Code Without Integrity Check
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/@anthropic-ai/claude-code/CVE-2026-86063.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 16 Oct 2026 00:18:02 +0000.