CVE-2026-86063: Claude Code plugin install flow allowed bypass of commit hash pinning (< 2.1.179)

Product
@anthropic-ai/claude-code (npm)
CVE
CVE-2026-86063
Affected
< 2.1.179
Fixed in
2.1.179

Last verified against sources: October 16, 2026

Am I affected?

@anthropic-ai/claude-code (npm): affected < 2.1.179. Fixed in 2.1.179.

What to do now

  1. Update Claude Code to 2.1.179 or later. [1]

General practice, not from the source: if the affected software could read tokens or credentials, rotate them after upgrading; pin versions and review changes before updating tools your agents run.

What happened

  • According to GitHub Advisory Database's advisory (Oct 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 HEAD matched the pinned SHA. [1]

Impact

  • An attacker controlling a plugin repository could create a branch named identically to the 40-character SHA so checkout resolved to the branch tip instead of the reviewed commit. [1]

What was done

  • Fixed in @anthropic-ai/claude-code 2.1.179. [1]

Sources

  1. GHSA-pq7j-f95f-qfcv — GitHub Advisory Database

Every statement above was checked against these sources before publishing. Spotted an error? Tell us and we will correct it with a dated note.

Share advisory brief with your team

Copy a plain-text summary for Slack, GitHub issues, or team security channels.

Brief
[CVE-2026-86063] CVE-2026-86063: Claude Code plugin install flow allowed bypass of commit hash pinning (< 2.1.179)
Product: @anthropic-ai/claude-code (npm) | Affected: < 2.1.179 | Fixed in: 2.1.179
Summary: According to GitHub Advisory Database's advisory (Oct 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 HEAD matched the pinned SHA.
Source & remediation on AgentArmorHQ: https://agentarmorhq.com/incidents/2026/10/cve-2026-86063-claude-code-plugin-hash-pin-bypass
Was this page useful?

Corrections

Report an error or request a correction. We review requests within 5 business days and add a dated correction note.

10 to 2,000 characters. A link to a source helps. Stored as plain text.

Discussions for CVE-2026-86063

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Check before you install

Paste a package name or a GitHub link and get a clear answer in seconds: Block, Review or No known issues. No account needed.

Check a package

Questions? Contact us