Skip to main content

Claude Code EUVDEUVD-2026-23520

| CVE-2026-35603 MEDIUM
Untrusted Search Path (CWE-426)
2026-04-17 GitHub_M GHSA-5cwg-9f6j-9jvx
5.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Create ProgramData\ClaudeCode directory
  2. Delivery
    Write malicious managed-settings.json
  3. Exploit
    Wait for victim to launch Claude Code
  4. Execution
    Claude Code loads untrusted configuration
  5. Impact
    Arbitrary code executes with victim's privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Exploitation requires a multi-user Windows system with ProgramData configured with default permissions (writable by non-administrative users), a local non-administrative attacker account, and critically, a victim user launching Claude Code after the malicious configuration is placed. The C:\ProgramData\ClaudeCode subdirectory must not already exist or must be writable by the attacker (true by default since parent directory is writable). The vulnerability does NOT affect single-user systems, Windows installations with hardened ProgramData permissions, or systems where no users launch Claude Code after the attack. The requirement for user interaction (UI:P: victim must launch the tool) and specific timing (attack window closes if Claude Code is not executed, or if administrators immediately repair permissions) significantly limits real-world exploitability compared to network-based or no-interaction attacks.

Impact

This is a moderate-severity local privilege escalation with real but limited practical impact. The CVSS score of 5.4 reflects the combination of high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) offset by local attack vector and requirement for user interaction. The attack is reliable (AC:L) but requires three specific conditions: (1) a multi-user Windows system, (2) a local non-administrative attacker account, and (3) a victim user launching Claude Code after the malicious file is placed. This is NOT a network exploitation path and cannot affect single-user machines or systems where Claude Code is not used. EPSS data is not provided, but the combination of low attack frequency (multi-user systems with Claude Code), user interaction requirement, and patch availability (version 2.1.75) suggests this poses lower real-world risk than the CVSS score alone indicates. However, on shared development or lab systems where Claude Code is widely used, the attack surface is material. No public exploit code or active exploitation is mentioned, further reducing immediacy.

Exploit ScenarioDerived

On a shared Windows development machine, an attacker with a standard user account creates the C:\ProgramData\ClaudeCode directory and places a malicious managed-settings.json containing commands that run with the privileges of whoever launches Claude Code next. When a developer or colleague (potentially with higher privileges) launches Claude Code, the application automatically loads and executes the attacker's configuration, granting code execution in that user's context. This could be used to steal credentials, install backdoors, or access sensitive development assets.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Claude Code prior to version 2.1.75 on Windows allows low-privileged local users to execute arbitrary code by placing a malicious configuration file in an unprotected shared directory (C:\ProgramData\ClaudeCode\managed-settings.json). The vulnerability exploits the default writability of ProgramData to non-administrative users and the absence of directory ownership validation, enabling privilege escalation or lateral impact when a victim user subsequently launches the application. This requires local system access and user interaction (launching Claude Code), limiting real-world impact to shared multi-user systems.

RemediationAI

The primary fix is to upgrade Claude Code to version 2.1.75 or later on all affected Windows systems. Users should ensure they run the latest version from the official Anthropics distribution channels and verify the update applies to their Windows installation. No workarounds are documented for pre-2.1.75 versions; however, as a compensating control on shared systems, administrators can manually create the C:\ProgramData\ClaudeCode directory with restricted ACLs (modifiable only by SYSTEM and Administrators) before users launch Claude Code, preventing non-administrative users from placing malicious configuration files. This control has the trade-off of requiring pre-deployment steps and ongoing verification. Alternatively, restricting write access to ProgramData itself (via Group Policy) is effective but may break other applications expecting standard ProgramData permissions. See https://github.com/anthropics/claude-code/security/advisories/GHSA-5cwg-9f6j-9jvx for patch confirmation and installation guidance.

Affected VersionsENISA

claude-code < 2.1.75

Affected Packages

npm @anthropic-ai/claude-code fix: 2.1.75
euvd claude_code fix: 2.1.75

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Claude Code is an agentic development tool that loads system-wide configuration from a fixed path in ProgramData, a shared Windows directory intended for application data accessible to all users. The root cause (CWE-426: Untrusted Search Path) stems from loading configuration without verifying that the containing directory is owned and controlled by trusted entities. By default, ProgramData allows write access to non-administrative accounts, and Claude Code did not pre-create the ClaudeCode subdirectory with restricted permissions. An attacker can create this directory and place a malicious managed-settings.json, which Claude Code then loads without ownership validation. The CVSS vector (AV:L/AC:L/PR:L) confirms this is a local privilege escalation requiring low-privilege account access and low attack complexity, though AT:P (attack timing requiring user interaction) and UI:P (user must launch the tool) constrain exploitability.

Know when Claude Code gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.4 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch released
Apr 22, 2026 - 18:45 nvd
Patch available
Patch available
Apr 17, 2026 - 21:16 EUVD
CVE Published
Apr 17, 2026 - 20:38 nvd
MEDIUM 5.4

DescriptionCVE.org

Claude Code is an agentic coding tool. In versions prior to 2.1.75 on Windows, Claude Code loaded the system-wide default configuration from C:\ProgramData\ClaudeCode\managed-settings.json without validating directory ownership or access permissions. Because the ProgramData directory is writable by non-administrative users by default and the ClaudeCode subdirectory was not pre-created or access-restricted, a low-privileged local user could create this directory and place a malicious configuration file that would be automatically loaded for any user launching Claude Code on the same machine. Exploiting this would have required a shared multi-user Windows system and a victim user to launch Claude Code after the malicious configuration was placed. This issue has been fixed on version 2.1.75.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-35022 CRITICAL POC
9.3 Apr 06

OS command injection in Anthropic Claude Code CLI and Agent SDK for Python allows remote, unauthenticated attackers to e

CVE-2025-59536 HIGH POC
8.7 Oct 03

Code injection in Anthropic's Claude Code CLI before version 1.0.111 allows malicious code embedded in a project directo

CVE-2026-35020 HIGH POC
8.6 Apr 06

OS command injection in Anthropic Claude Code CLI and Claude Agent SDK for Python allows local attackers to execute arbi

CVE-2026-35021 HIGH POC
8.4 Apr 06

OS command injection in Anthropic Claude Code CLI and Claude Agent SDK for Python enables arbitrary command execution vi

CVE-2026-39861 HIGH POC
7.7 Apr 21

Sandbox escape in Claude Code versions prior to 2.1.64 enables arbitrary file writes outside the workspace by exploiting

CVE-2026-25725 CRITICAL
10.0 Feb 06

Claude Code prior to version 2.1.2 has a CVSS 10.0 sandbox escape in the bubblewrap sandboxing mechanism, allowing code

CVE-2025-66032 CRITICAL POC
9.8 Dec 03

Claude Code is an agentic coding tool. Prior to 1.0.93, Due to errors in parsing shell commands related to $IFS and shor

CVE-2026-25722 CRITICAL
9.1 Feb 06

Claude Code prior to version 2.0.57 failed to properly validate MCP tool inputs, allowing malicious MCP servers to injec

CVE-2026-24887 HIGH POC
8.8 Feb 03

Claude Code versions before 2.0.72 allow authenticated attackers to execute arbitrary commands by exploiting a command p

CVE-2025-64755 HIGH
8.7 Nov 21

Claude Code is an agentic coding tool. Rated high severity (CVSS 8.7), this vulnerability is remotely exploitable, no au

CVE-2026-55607 HIGH
7.7 Jun 29

Sandbox escape and code execution in Anthropic's Claude Code CLI (versions 2.1.38 through 2.1.162) lets a malicious repo

CVE-2025-65099 HIGH
7.7 Nov 19

Claude Code is an agentic coding tool. Rated high severity (CVSS 7.7), this vulnerability is remotely exploitable, no au

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy