# Claude Code plugin install could bypass a pinned commit SHA

NEWS, 9 OCT 2026, read 12 Nov 2026

**The short answer.** Anthropic disclosed on 9 Oct 2026 that the plugin install flow in Claude Code and Claude Desktop checked out a marketplace's pinned commit without confirming HEAD matched it. A branch named like the 40-character SHA could resolve to attacker code. Rated High, CVSS 7.7, with a fix shipped through auto-update.

Anthropic's advisory GHSA-pq7j-f95f-qfcv covers the plugin install flow in Claude Code and Claude Desktop. The flow ran git checkout on a marketplace's pinned commit SHA but did not verify that the resulting HEAD matched. Someone controlling a plugin's upstream repository could create a branch with the same name as the 40-character SHA, and the checkout would land on the attacker's branch tip.

Anthropic rates the issue High at 7.7 on CVSS v4. It says exploitation needs a user to install a malicious plugin, pin it to a safe-looking hash, and a git host that allows SHA-shaped branch names. Anthropic credits Or Nevo Michrowski of Air Security. Standard auto-update has delivered the fix; manual updates need the latest version.

The lesson for endpoint teams is that a pinned hash is only a control if the installer verifies it. Plugins run with the permissions of the agent that loads them, so a swapped plugin is code execution inside a tool that already holds repository access and often cloud credentials.

What to check: that developer machines are on the current Claude Code release, which plugin marketplaces are allowed in managed settings, and whether you have an inventory of installed plugins and the commit each one resolves to.

## Earlier and later in the release log

- [Backdoored Claude Code extension build distributed through Cursor's marketplace](/news/poisoned-claude-code-extension-cursor-marketplace/): 30 Oct 2026
- [Island launches its enterprise browser as a governed surface for AI agents](/news/island-enterprise-browser-for-ai-agents/): 29 Oct 2026
- [Anthropic patches Claude Desktop Cowork folder file-open flaw](/news/claude-desktop-cowork-folder-file-open-advisory/): 25 Sep 2026
- [Four more VS Code extensions reuse SaassyCode malware with a new delivery chain](/news/saassycode-vs-code-extensions-repackaged/): 24 Aug 2026

Every dated item is on the [release log](/news/). Seen a release this log missed? [Send a tip](/corrections/).

## Sources

- github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv: https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv (read 12 Nov 2026)

Last reviewed 12 Nov 2026. Canonical: https://aiendpointsecurityranked.com/news/claude-code-plugin-sha-pin-bypass-advisory/
