{"id":"CVE-2026-35603","aliases":["CVE-2026-35603","GHSA-5cwg-9f6j-9jvx"],"related":[],"kind":"vulnerability","state":"published","title":"Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on Windows","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nUsers on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.\n\nThank you to hackerone.com/edbr for reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-17T20:38:49.901Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-426"],"affected":[{"ranges":[{"version":"< 2.1.75","status":"affected"}],"vendor":"anthropics","product":"claude-code","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.75"}],"ecosystem":"npm","package":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.75"}],"vendor":"anthropic","product":"claude_code","cpe":"cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-5cwg-9f6j-9jvx","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35603","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/anthropics/claude-code","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-20T14:52:20.978Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35603","url":"https://www.cve.org/CVERecord?id=CVE-2026-35603","licence":"CVE Terms of Use","modified":"2026-04-20T14:57:47.669Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5cwg-9f6j-9jvx","url":"https://github.com/advisories/GHSA-5cwg-9f6j-9jvx","licence":"CC-BY-4.0","modified":"2026-05-05T16:04:01.752Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35603","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35603","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:18.965Z","epss":{"score":0.0011,"percentile":0.01372,"date":"2026-12-01T12:00:22.000Z"}}