{"id":"CVE-2026-86063","aliases":["GHSA-pq7j-f95f-qfcv"],"summary":"Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning","published_at":"2026-10-13T19:04:11.695Z","modified_at":"2026-10-15T20:30:08.558907Z","products":[],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0019600000232458115,"percentile":0.09448999911546707,"date":"2026-11-19T00:00:00Z"},"priority":10.3,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"anthropics/claude-code","versions":["< 2.1.179"],"provider":"cvelistv5","source":"CVE-2026-86063","relation":"self"},{"ecosystem":"npm","package":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.179"}]}],"fixed":["2.1.179"],"provider":"osv","source":"GHSA-pq7j-f95f-qfcv","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces 3.31","cpe":"cpe:/a:redhat:openshift_devspaces:3.31::el9","status":"fixed","packages":["devspaces/pluginregistry-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:90321"],"provider":"redhat-vex","source":"CVE-2026-86063"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces 3.31","cpe":"cpe:/a:redhat:openshift_devspaces:3.31::el9","status":"not_affected","packages":["devspaces/code-rhel9","devspaces/code-sshd-rhel9","devspaces/configbump-rhel9","devspaces/dashboard-rhel9","devspaces/devspaces-operator-bundle","devspaces/devspaces-rhel9-operator","devspaces/imagepuller-rhel9","devspaces/jetbrains-ide-rhel9","devspaces/multicluster-redirector-rhel9","devspaces/oauth2-proxy-rhel9","devspaces/openvsx-rhel9","devspaces/server-rhel9","devspaces/traefik-rhel9","devspaces/udi-base-rhel9","devspaces/udi-rhel9"],"package_count":15,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-86063"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-86063","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-86063","license":"CC-BY-4.0","published_at":"2026-10-13T19:04:11.695Z","modified_at":"2026-10-13T20:21:00.156Z","summary":"Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash Pinning","details":"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.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"CVE-2026-86063"}],"affected":[{"ecosystem":"CVE","package":"anthropics/claude-code","versions":["< 2.1.179"],"provider":"cvelistv5","source":"CVE-2026-86063","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv"},{"type":"WEB","url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.179"}]},{"provider":"osv","source_id":"GHSA-pq7j-f95f-qfcv","relation":"self","url":"https://osv.dev/vulnerability/GHSA-pq7j-f95f-qfcv","license":"CC-BY-4.0","published_at":"2026-10-15T20:22:07Z","modified_at":"2026-10-15T20:30:08.558907Z","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.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GHSA-pq7j-f95f-qfcv"}],"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.179"}]}],"fixed":["2.1.179"],"provider":"osv","source":"GHSA-pq7j-f95f-qfcv","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86063"},{"type":"PACKAGE","url":"https://github.com/anthropics/claude-code"},{"type":"WEB","url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.179"}]},{"provider":"redhat-vex","source_id":"CVE-2026-86063","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-86063","license":"CC-BY-4.0","published_at":"2026-10-13T19:04:11.695Z","modified_at":"2026-10-14T15:31:04Z","summary":"claude-code: Claude Code: arbitrary code execution via unverified commit hash during plugin installation","details":"A flaw was found in Claude Code. When installing a plugin pinned to a specific commit hash, the application does not verify that the checked-out version matches the expected Secure Hash Algorithm (SHA) identifier. A remote attacker controlling a repository can create a branch named after the reviewed commit hash, tricking the tool into installing attacker-controlled code instead of the approved version. If a user installs the plugin, this issue can lead to arbitrary code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-86063"},{"type":"Red Hat","score":"Important","source":"CVE-2026-86063"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces 3.31","cpe":"cpe:/a:redhat:openshift_devspaces:3.31::el9","status":"fixed","packages":["devspaces/pluginregistry-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:90321"],"provider":"redhat-vex","source":"CVE-2026-86063"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces 3.31","cpe":"cpe:/a:redhat:openshift_devspaces:3.31::el9","status":"not_affected","packages":["devspaces/code-rhel9","devspaces/code-sshd-rhel9","devspaces/configbump-rhel9","devspaces/dashboard-rhel9","devspaces/devspaces-operator-bundle","devspaces/devspaces-rhel9-operator","devspaces/imagepuller-rhel9","devspaces/jetbrains-ide-rhel9","devspaces/multicluster-redirector-rhel9","devspaces/oauth2-proxy-rhel9","devspaces/openvsx-rhel9","devspaces/server-rhel9","devspaces/traefik-rhel9","devspaces/udi-base-rhel9","devspaces/udi-rhel9"],"package_count":15,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-86063"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86063.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-86063"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2551595"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-86063"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86063"},{"type":"WEB","url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.179"},{"type":"WEB","url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv"}]}],"references":[{"type":"WEB","url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-pq7j-f95f-qfcv"},{"type":"WEB","url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.179"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86063"},{"type":"PACKAGE","url":"https://github.com/anthropics/claude-code"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86063.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-86063"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2551595"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-86063"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-86063","url":"https://www.cve.org/CVERecord?id=CVE-2026-86063","license":"CC-BY-4.0","modified_at":"2026-10-13T20:21:00.156Z","relation":"self"},{"provider":"osv","source_id":"GHSA-pq7j-f95f-qfcv","url":"https://osv.dev/vulnerability/GHSA-pq7j-f95f-qfcv","license":"CC-BY-4.0","modified_at":"2026-10-15T20:30:08.558907Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-86063","url":"https://access.redhat.com/security/cve/CVE-2026-86063","license":"CC-BY-4.0","modified_at":"2026-10-14T15:31:04Z","relation":"self"}]}
