Medium

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

  • Disclosed: 17.04.2026
  • Updated: 11.10.2026 10:22

On Windows, Claude Code loaded 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.

Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.

Thank you to hackerone.com/edbr for reporting this issue.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @anthropic-ai/claude-code < 2.1.75 2.1.75

References

CVSS score 7.3/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-426
Platform
npm
Package
@anthropic-ai/claude-code
Disclosed
17.04.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5cwg-9f6j-9jvx - CC BY 4.0

Vulnerability history: @anthropic-ai/claude-code

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (29) in the archive
Total entries
29
First → latest
06.2025 10.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 23
  • Medium 4
  • Low 2

Disclosures per year

  1. 2025: 13
  2. 2026: 16
Severity:
  1. Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows this entry
    Medium · 7.3 CVE-2026-35603 < 2.1.75 2.1.75

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.