{"schema":"threatline.record/2","record":{"id":"CVE-2026-86063","aliases":["GHSA-pq7j-f95f-qfcv"],"summary":"Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning","details":"The plugin install flow in Claude Code and Claude Desktop checked out a marketplace's pinned commit SHA using `git checkout` without verifying that the resulting HEAD matched the pinned SHA. An attacker controlling a plugin's upstream repository could create a branch named identically to the pinned 40-character SHA, causing the checkout to silently resolve to the attacker's branch tip instead of the reviewed commit, resulting in attacker-controlled code being installed bypassing the pinned hash. Exploitation required a user to install a malicious plugin, pin to a safe hash, and for the plugin source to be hosted on a git host that permitted SHA-shaped branch names.\n\nUsers on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.\n\nThank you to Or Nevo Michrowski of Air Security for reporting this issue.","categories":["Libraries & packages"],"product":"@anthropic-ai/claude-code","vendor":"anthropics","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-pq7j-f95f-qfcv","source_modified_at":"2026-10-15T20:22:08Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@anthropic-ai/claude-code"},"range":"< 2.1.179"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-86063","source_modified_at":"2026-10-13T20:21:00.156Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"claude-code","vendor":"anthropics","versions":[{"version":"< 2.1.179","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-pq7j-f95f-qfcv","source_modified_at":"2026-10-15T20:30:08.558907946Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@anthropic-ai/claude-code","ecosystem":"npm","purl":"pkg:npm/%40anthropic-ai/claude-code"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.179"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-pq7j-f95f-qfcv","source_modified_at":"2026-10-15T20:22:08Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"@anthropic-ai/claude-code"},"version":"2.1.179"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-pq7j-f95f-qfcv","source_modified_at":"2026-10-15T20:30:08.558907946Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"@anthropic-ai/claude-code","ecosystem":"npm","purl":"pkg:npm/%40anthropic-ai/claude-code"},"version":"2.1.179"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00171,"percentile":0.06206,"score_date":"2026-10-23"},"published_at":"2026-10-13T19:04:11.695Z","modified_at":"2026-10-15T20:30:08.558907946Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-pq7j-f95f-qfcv","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-15T20:22:08Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-86063","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-13T20:21:00.156Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-pq7j-f95f-qfcv","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-15T20:30:08.558907946Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-86063","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86063","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.179","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-pq7j-f95f-qfcv","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-13T20:14:06.546364Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-15T20:30:08.558907946Z","content_hash":"7deef7ef75ec8f758023cd4193bf5b9a5b618b72133126ce0fd4211494d8b7f3"}}
