CVE-2026-40068

high
Published 2026-05-05 · Modified 2026-05-08
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
8.8

Description

Claude Code: Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77

Package impact

EcosystemPackageVulnerableFixed
npm npm@anthropic-ai/claude-code>=2.1.63,<2.1.842.1.84
npm NPM@anthropic-ai/claude-code>= 2.1.63, < 2.1.842.1.84

Application impact

VendorProductVersionsFixed
anthropicclaude_code{"startIncluding":"2.1.63","endExcluding":"2.1.84"}2.1.84

References

CWEs

CWE-20 CWE-77

Verify integrity in audit chain (admin only). AS-IS.