Anthropic discloses Claude Code and Claude Desktop plugin installation vulnerability; versions before 2.1.179 affected and fixed
Anthropic published security advisory GHSA-pq7j-f95f-qfcv (CVE-2026-86063). The plugin installation process in Claude Code and Claude Desktop performs a checkout against a pinned commit SHA from the marketplace without verifying HEAD; versions before 2.1.179 are affected, and it was fixed in 2.1.179. The advisory states that an attacker controlling the plugin's upstream repository could create a branch with the same name as the 40-character pinned SHA, causing the checkout to silently resolve to that branch and bypass the pinned hash to load attacker code. Exploitation requires the user to install a malicious plugin and pin the version to a safe hash, and the plugin source must be hosted on a git host that allows SHA-form branch names. Claude Code users on standard auto-update have received the fix; manual updaters are advised to upgrade to the latest version. The issue was reported by Or Nevo Michrowski of Air Security.
The advisory shows that a fixed SHA checkout takes effect only after re-verifying HEAD; teams maintaining plugin marketplaces or plugin sources can use this to check their own installation processes.