A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-24052

CVE-2026-24052: Claude Code SSRF Vulnerability

CVE-2026-24052 is a Server-Side Request Forgery vulnerability in Claude Code caused by insufficient URL validation. Attackers could exploit this to send requests to malicious domains. Learn about affected versions and mitigations.

Published: February 6, 2026

CVE-2026-24052 Overview

CVE-2026-24052 is an open redirect vulnerability (CWE-601) affecting Claude Code, an agentic coding tool developed by Anthropic. Prior to version 1.0.111, Claude Code contained insufficient URL validation in its trusted domain verification mechanism for WebFetch requests. The application used a startsWith() function to validate trusted domains (e.g., docs.python.org, modelcontextprotocol.io), which could have enabled attackers to register domains like modelcontextprotocol.io.example.com that would pass validation. This could enable automatic requests to attacker-controlled domains without user consent, potentially leading to data exfiltration.

Critical Impact

Attackers could bypass trusted domain validation to exfiltrate sensitive data by registering malicious domains that pass the flawed startsWith() validation check.

Affected Products

  • Claude Code versions prior to 1.0.111

Discovery Timeline

  • 2026-02-03 - CVE-2026-24052 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2026-24052

Vulnerability Analysis

This vulnerability stems from an improper input validation flaw in the trusted domain verification mechanism. When Claude Code makes WebFetch requests, it validates the target URL against a list of trusted domains. The implementation used a startsWith() string comparison function to check if the request URL began with an allowed domain pattern. This approach is fundamentally flawed because it does not properly validate domain boundaries.

For example, if modelcontextprotocol.io is a trusted domain, the startsWith() check would also pass for modelcontextprotocol.io.example.com because the string technically starts with the trusted domain pattern. An attacker could exploit this by registering a subdomain or lookalike domain that incorporates the trusted domain string as a prefix.

The vulnerability requires user interaction to trigger but can be exploited remotely over the network. Once exploited, confidentiality is impacted as sensitive data could be sent to attacker-controlled servers without proper user authorization.

Root Cause

The root cause is the use of startsWith() for domain validation instead of proper URL parsing and domain boundary checking. Secure domain validation requires parsing the URL to extract the actual hostname and then comparing it against the allowlist with proper boundary checks (ensuring exact match or valid subdomain relationships). The flawed implementation treated domain validation as a simple string prefix operation, which fails to account for the hierarchical nature of domain names.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker would:

  1. Register a domain that begins with a trusted domain string (e.g., modelcontextprotocol.io.attacker.com)
  2. Craft a malicious URL or content that triggers a WebFetch request to this domain
  3. When a user interacts with the crafted content, Claude Code's validation incorrectly approves the request
  4. Sensitive data from the user's session or workspace is sent to the attacker's server without explicit consent

The vulnerability mechanism involves the flawed startsWith() domain validation allowing attacker-controlled domains to masquerade as trusted endpoints. For complete technical details, see the GitHub Security Advisory.

Detection Methods for CVE-2026-24052

Indicators of Compromise

  • Unexpected outbound network connections to domains that include trusted domain strings as prefixes but are not legitimate (e.g., docs.python.org.malicious-domain.com)
  • WebFetch request logs showing requests to unusual domain patterns that pass validation but point to unrecognized infrastructure
  • Data transfer to domains with suspicious TLD patterns or newly registered domains

Detection Strategies

  • Monitor network traffic for outbound connections from Claude Code instances to domains that contain trusted domain strings but have additional suffixes
  • Implement DNS logging to identify requests to suspicious domains that mimic trusted domain patterns
  • Review WebFetch request logs for anomalous domain access patterns

Monitoring Recommendations

  • Enable verbose logging for Claude Code WebFetch operations to track all domain access attempts
  • Deploy network monitoring solutions to flag connections to domains resembling trusted endpoints with additional suffixes
  • Implement alerting for data transfers to newly registered domains or domains with low reputation scores

How to Mitigate CVE-2026-24052

Immediate Actions Required

  • Upgrade Claude Code to version 1.0.111 or later immediately
  • Review WebFetch logs for any suspicious domain access that may indicate prior exploitation
  • Audit any data that may have been exposed through WebFetch requests to untrusted domains

Patch Information

Anthropic has released version 1.0.111 of Claude Code which addresses this vulnerability by implementing proper URL parsing and domain boundary validation. The fix replaces the flawed startsWith() check with secure hostname extraction and comparison logic. Users should update to this version or later to remediate the vulnerability. For more information, see the GitHub Security Advisory.

Workarounds

  • Implement network-level controls to block outbound connections to suspicious domains that mimic trusted domain patterns
  • Use a proxy or firewall to enforce strict allowlisting of WebFetch destinations at the network layer
  • Monitor and restrict Claude Code's network access to only necessary trusted domains pending the upgrade
bash
# Example: Network-level domain allowlist enforcement
# Add to firewall or proxy configuration to restrict outbound connections
# Ensure exact domain matching rather than prefix matching
# Allowlist only legitimate trusted domains:
# - docs.python.org (exact match only)
# - modelcontextprotocol.io (exact match only)

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechClaude Code

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/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
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25722: Anthropic Claude Code Path Traversal Flaw

  • CVE-2026-24887: Claude Code RCE Vulnerability

  • CVE-2026-24053: Claude Code Path Traversal Vulnerability

  • CVE-2026-21852: Claude Code Information Disclosure Flaw
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
  • English
  • 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