LIVE LOG · recorded complete source-check dates between October 14 and November 30, 2026; excludes entries with incomplete or unverified source checks · site updated Nov 12, 2026, 12:09 AM ET

← All incidents

CVE-2026-86063: Claude Code plugin install could skip a pinned commit hash

Vulnerability · Claude Code, Claude Desktop, Codex · HIGH

Incident dateNot stated
DisclosedOct 9, 2026 (Anthropic advisory). NVD published Oct 13, 2026. Researcher write-up (Air Security, Plugin4Shell) Sep 17, 2026.
Added hereOct 14, 7:35 AM ET
Last verifiedOct 28, 2026

Summary

Anthropic published advisory GHSA-pq7j-f95f-qfcv for the plugin install flow in Claude Code and Claude Desktop. When a marketplace pinned a plugin to a 40-character commit SHA, the installer ran git checkout on that value but never checked that the result matched the pin. An attacker who controlled the plugin's repository could create a branch named exactly like the pinned SHA, and the install would pull the branch tip instead of the reviewed commit. Claude Code 2.1.179 fixes it, and Anthropic says standard auto-update users already have it.

Severity

HIGH Attacker-controlled code installed in place of a commit the user reviewed and pinned. It needs a user to install the malicious plugin, pin it to a safe hash, and a git host that allows SHA-shaped branch names. CVSS 4.0 7.7 High in Anthropic's repository advisory (UI:P). GitHub's global advisory record and NVD list 7.5 High (UI:A).

Kit, our email provider, gets your address only to send the newsletter. Every email has an unsubscribe link. Privacy policy.

Timeline

  1. Jun 16, 2026
    Claude Code 2.1.179 is released on GitHub. Anthropic's advisory lists it as the patched version.
  2. Oct 9, 2026
    Anthropic publishes GHSA-pq7j-f95f-qfcv for @anthropic-ai/claude-code: versions before 2.1.179 affected.
  3. Oct 13, 2026
    NVD publishes CVE-2026-86063.

How it happened

git checkout accepts both commit hashes and branch names. If a branch carries the same 40-character name as the pinned commit, checkout can resolve to the branch, so the pin alone did not guarantee which code was installed. The fix is to confirm that HEAD equals the pinned SHA after checkout. Anthropic classifies it as CWE-494 and CWE-829 and credits Or Nevo Michrowski of Air Security. CVSS 4.0 7.7 High in Anthropic's repository advisory (UI:P). GitHub's global advisory record and NVD list 7.5 High (UI:A). Air Security published its own write-up, which it calls Plugin4Shell, on Sep 17, 2026. It says the same missing check was found in other coding agents, and that OpenAI fixed it in Codex 0.146.0; that release lists PR #34644, 'Verify Git plugin SHA checkouts'. Air argues the risk goes beyond fresh installs: background plugin auto-update can pull a swapped branch onto an already-installed plugin when a marketplace bumps the pinned hash. Per Air, GitHub rejects branch names shaped like a 40-character hash, while Bitbucket and self-hosted git servers allow them.

How to check your app

Sources

Corrections and updates

  1. Oct 15, 2026
    Added Air Security's Sep 17, 2026 Plugin4Shell write-up as a source, with its points on plugin auto-update and git hosts that allow hash-shaped branch names, and OpenAI's matching fix in Codex 0.146.0 (PR #34644). Added a Codex check.
  2. Oct 27, 2026
    Split the CVSS note: Anthropic's repository advisory shows CVSS 4.0 7.7 High (UI:P); GitHub's global advisory record and NVD show 7.5 High (UI:A).
Cite this entry
Title
CVE-2026-86063: Claude Code plugin install could skip a pinned commit hash
Added
Oct 14, 2026
URL
https://vibeincidents.com/incidents/claude-code-plugin-sha-pin-cve-2026-86063/
Suggested citation
VibeIncidents. "CVE-2026-86063: Claude Code plugin install could skip a pinned commit hash." Oct 14, 2026. https://vibeincidents.com/incidents/claude-code-plugin-sha-pin-cve-2026-86063/