CVE-2026-35603 Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows

Medium 5.4 Published Updated

A local attacker can escalate privileges by placing a malicious configuration file in a writable system directory, which is then loaded by other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-35603?

CVE-2026-35603 is a medium-severity vulnerability in anthropics claude-code, published on 17 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-426

Which versions are affected by CVE-2026-35603?

2 open source packages ship an affected version, including @anthropic-ai/claude-code. It affects 1 product.

PackageAffectedFixed in
@anthropic-ai/claude-code npmAll versions2.1.75
@anthropic-ai/claude-code npmAll versions2.1.75

Products include Anthropic Claude Code.

How do I fix CVE-2026-35603?

Upgrade @anthropic-ai/claude-code to 2.1.75 or later.

Is CVE-2026-35603 being exploited?

There is no known exploitation of CVE-2026-35603 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5cwg-9f6j-9jvx, MINI-qrr7-fm24-57q7, MINI-rfw4-vr5x-x6xr.

Is CVE-2026-35603 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free