CVE-2026-35603
JSON

5.4medium

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

Severity
5.4medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5cwg-9f6j-9jvx

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.

Affected

Product or packageVersionsReported by
anthropics claude-code< 2.1.75CVE List
@anthropic-ai/claude-code (npm)before 2.1.75GitHub Advisory Database
anthropic claude_codebefore 2.1.75NVD

All scores

GitHub_M5.4medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHub7.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-426

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Claude Code es una herramienta de codificación agéntica. En versiones anteriores a la 2.1.75 en Windows, Claude Code cargaba la configuración predeterminada a nivel de sistema desde C:\ProgramData\ClaudeCode\managed-settings.json sin validar la propiedad del directorio o los permisos de acceso. Debido a que el directorio ProgramData es escribible por usuarios no administrativos por defecto y el subdirectorio ClaudeCode no estaba precreado o con acceso restringido, un usuario local de bajo privilegio podría crear este directorio y colocar un archivo de configuración malicioso que sería cargado automáticamente para cualquier usuario que inicie Claude Code en la misma máquina. Explotar esto habría requerido un sistema Windows multiusuario compartido y que un usuario víctima iniciara Claude Code después de que la configuración maliciosa fuera colocada. Este problema ha sido solucionado en la versión 2.1.75.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35603 changed 2026-04-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-5cwg-9f6j-9jvx changed 2026-05-05CC-BY-4.0
NVDCVE-2026-35603 changed 2026-10-26Public domain