CVE Catalog

CVE-2026-86063

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker could deliver malicious plugin code that gets installed despite pinning to a safe hash, potentially leading to arbitrary code execution in the user's environment.

Recommendation

Update Claude Code to version 2.1.179 or later and avoid installing plugins from untrusted repositories.

Other vulnerabilities in Claude Code

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS