Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-21852

46
FAUCET Score

CVE-2026-21852 is a critical vulnerability affecting Anthropic's Claude Code prior to version 2.0.65. It allowed malicious repositories to exfiltrate sensitive data, specifically Anthropic API keys, before a user could even confirm trust in the project. An attacker could configure a repository to redirect API requests to an attacker-controlled endpoint, leading to immediate API key leakage upon opening the project. Rated with a CVSS score of 7.5 (HIGH), this vulnerability has a network attack vector and low attack complexity, requiring no user interaction to exploit. The primary impact is a complete compromise of confidentiality (C:H) due to the exfiltration of API keys. While there is no evidence of active exploitation (KEV: No) and no public exploit code (Metasploit, Nuclei, ExploitDB: None), the vulnerability has garnered significant community attention with 19 mentions across various platforms and media coverage, indicating a high level of awareness and concern. Users on standard auto-update have received the fix, and manual update users are advised to upgrade to version 2.0.65 or later.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.0.65CPE matchmatch criteria
cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 4.0

5.3MEDIUM

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
VS Confidentiality
LOW
VS Integrity
LOW
VS Availability
LOW
SS Confidentiality
NONE
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
23.15%
Probability of exploitation in next 30 days
EPSS Percentile
97.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.2315 is in the 96th percentile among its peer group of 51,506 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

npmpatch availablevia ghsa
Product: @anthropic-ai/claude-codeFixed in: 2.0.65
github_advisoryvendor investigatingvia nvd_reference
View patch

Vendor Advisories (1)

npmGHSA-jh7p-qr78-84p7medium

Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation

Jan 21, 2026

References

github.com / anthropics/claude-code/security/advisories/GHSA-jh7p-qr78-84p7
Vendor Advisory