Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows
Medium5.4CVE-2026-35603 · Published Apr 17, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| @anthropic-ai/claude-code npm | < 2.1.75 | 2.1.75 |
Details and references
- CVSS 4.0
- 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
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-426
More Anthropic advisories
All Anthropic| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Apr 24 | Claude SDK for TypeScript has Insecure Default File Permissions in Local Filesystem Memory Tool | Medium4.8 | 0.91.1 |
| Apr 24 | Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution | High7.7 | 2.1.84 |
| Apr 20 | Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace | High7.7 | 2.1.64 |
| Mar 31 | Memory Tool Path Validation Race Condition Allows Sandbox Escape | Medium5.8 | 0.87.0 |
| Mar 31 | Insecure Default File Permissions in Local Filesystem Memory Tool | Medium4.8 | 0.87.0 |
| Mar 31 | Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories | Medium6.3 | 0.81.0 |