Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35603

CVE-2026-35603: Claude Code Privilege Escalation Flaw

CVE-2026-35603 is a privilege escalation vulnerability in Anthropic Claude Code that allows low-privileged users to inject malicious configurations on Windows systems. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-35603 Overview

Claude Code is an agentic coding tool developed by Anthropic. In versions prior to 2.1.75 on Windows, the application 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.

Critical Impact

Local privilege escalation through untrusted search path allows low-privileged attackers to inject malicious configurations affecting all users on shared Windows systems.

Affected Products

  • Anthropic Claude Code versions prior to 2.1.75
  • Microsoft Windows (all supported versions)
  • Claude Code for Node.js runtime

Discovery Timeline

  • April 17, 2026 - CVE-2026-35603 published to NVD
  • April 22, 2026 - Last updated in NVD database

Technical Details for CVE-2026-35603

Vulnerability Analysis

This vulnerability is classified as CWE-426 (Untrusted Search Path), which occurs when an application searches for files or resources in locations that can be influenced by untrusted parties. The core issue lies in how Claude Code on Windows handles its configuration file loading mechanism. When the application initializes, it attempts to load managed settings from a predictable system-wide location without first verifying that the directory and file have appropriate access controls in place.

The exploitation requires a shared multi-user Windows environment where multiple users operate on the same system. An attacker with low-privileged access can pre-emptively create the ClaudeCode directory under C:\ProgramData and populate it with a crafted managed-settings.json file. Since Windows does not restrict standard users from creating directories within ProgramData by default, this attack path is readily available on unpatched systems. When a victim user subsequently launches Claude Code, the application loads the attacker-controlled configuration, potentially allowing arbitrary code execution or data exfiltration depending on the configuration options available.

Root Cause

The root cause is the application's failure to implement proper directory ownership validation and access permission checks before loading configuration files from a shared system location. The C:\ProgramData directory by default allows non-administrative users to create new subdirectories, and Claude Code did not pre-create the ClaudeCode subdirectory with restricted permissions during installation. This creates a race condition where an attacker can establish control over the configuration directory before the legitimate application installation or first use.

Attack Vector

The attack is local in nature, requiring an attacker to have existing access to the target Windows system. The exploitation process involves the attacker creating the directory structure at C:\ProgramData\ClaudeCode\ and placing a malicious managed-settings.json file within it. This file would then be loaded by any user who launches Claude Code on that system, inheriting whatever malicious configurations the attacker has specified. The attack requires user interaction from the victim, as they must launch the Claude Code application after the malicious configuration has been placed.

The vulnerability is particularly impactful in enterprise or shared computing environments such as:

  • Corporate workstations with multiple user profiles
  • Shared development environments
  • Terminal servers and remote desktop deployments
  • Educational computer labs

Detection Methods for CVE-2026-35603

Indicators of Compromise

  • Presence of unexpected directories or files at C:\ProgramData\ClaudeCode\ with ownership by non-administrative accounts
  • Modified timestamps on managed-settings.json that predate Claude Code installation
  • File ownership and ACLs on the ClaudeCode directory that differ from expected installation patterns
  • Unexpected configuration values when Claude Code loads that were not set by the user or administrator

Detection Strategies

  • Monitor file system activity for directory creation under C:\ProgramData\ by non-SYSTEM and non-Administrator accounts
  • Implement file integrity monitoring (FIM) on C:\ProgramData\ClaudeCode\managed-settings.json to detect unauthorized modifications
  • Deploy EDR solutions such as SentinelOne to detect anomalous configuration file manipulation patterns
  • Review Windows Security Event logs for EventID 4663 (file creation) targeting the ProgramData directory path

Monitoring Recommendations

  • Configure SentinelOne policies to alert on suspicious file creation events within C:\ProgramData\ by standard user accounts
  • Establish baseline file ownership for application directories and alert on deviations
  • Implement periodic audits of shared system directories for unexpected content or permission changes

How to Mitigate CVE-2026-35603

Immediate Actions Required

  • Upgrade Claude Code to version 2.1.75 or later immediately on all Windows systems
  • Audit existing installations for presence of unauthorized C:\ProgramData\ClaudeCode\ directories
  • Remove any pre-existing ClaudeCode directories that were not created by the official installer
  • Restrict permissions on C:\ProgramData\ClaudeCode\ to SYSTEM and Administrators only if manual remediation is required

Patch Information

Anthropic has addressed this vulnerability in Claude Code version 2.1.75. The fix implements proper directory ownership validation and access permission checks before loading configuration files. Organizations should update to the patched version through their standard Node.js package management processes. For detailed patch information, refer to the GitHub Security Advisory GHSA-5cwg-9f6j-9jvx.

Workarounds

  • Pre-create the C:\ProgramData\ClaudeCode\ directory with restricted ACLs (SYSTEM and Administrators full control only) before any standard user accesses the system
  • Deploy Group Policy to restrict write access to C:\ProgramData\ subdirectories for non-administrative users where feasible
  • Consider running Claude Code in isolated user profiles or containerized environments on shared systems until the patch is applied
bash
# PowerShell: Create secure directory with restricted permissions
New-Item -Path "C:\ProgramData\ClaudeCode" -ItemType Directory -Force
$acl = Get-Acl "C:\ProgramData\ClaudeCode"
$acl.SetAccessRuleProtection($true, $false)
$adminRule = New-Object System.Security.AccessControl.FileSystemAccessRule("BUILTIN\Administrators","FullControl","ContainerInherit,ObjectInherit","None","Allow")
$systemRule = New-Object System.Security.AccessControl.FileSystemAccessRule("NT AUTHORITY\SYSTEM","FullControl","ContainerInherit,ObjectInherit","None","Allow")
$acl.AddAccessRule($adminRule)
$acl.AddAccessRule($systemRule)
Set-Acl "C:\ProgramData\ClaudeCode" $acl

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechAnthropic Claude Code

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-426
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25725: Claude Code Privilege Escalation Flaw

  • CVE-2025-64755: Claude Code Privilege Escalation Flaw

  • CVE-2026-39861: Anthropic Claude Code RCE Vulnerability

  • CVE-2026-33068: Anthropic Claude Code Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English