The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-40037

CVE-2026-40037: OpenClaw SSRF Vulnerability

CVE-2026-40037 is a server-side request forgery flaw in OpenClaw that enables request body replay across cross-origin redirects, allowing data exfiltration. This article covers technical details, affected versions, and fixes.

Published: April 10, 2026

CVE-2026-40037 Overview

OpenClaw before version 2026.3.31 contains a request body replay vulnerability in the fetchWithSsrFGuard function that allows unsafe request bodies to be resent across cross-origin redirects. Attackers can exploit this by triggering redirects to exfiltrate sensitive request data or headers to unintended origins. This vulnerability is classified as CWE-601 (URL Redirection to Untrusted Site, also known as Open Redirect).

Critical Impact

Sensitive request data and headers can be exfiltrated to attacker-controlled origins through manipulated cross-origin redirects, potentially exposing authentication tokens, session data, and other confidential information.

Affected Products

  • OpenClaw versions prior to 2026.3.31
  • OpenClaw versions without the security patch released in 2026.4.8

Discovery Timeline

  • 2026-04-08 - CVE CVE-2026-40037 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-40037

Vulnerability Analysis

The vulnerability resides in the fetchWithSsrFGuard function within OpenClaw's network infrastructure layer. When processing HTTP requests that result in cross-origin redirects, the application fails to properly sanitize or strip request bodies before following the redirect. This allows sensitive data originally intended for a trusted origin to be forwarded to potentially malicious external domains.

The core issue stems from how the DNS pinning and proxy dispatch mechanisms interact during redirect handling. The original implementation performed DNS resolution and hostname pinning before determining whether a trusted environment proxy should be used, creating a window where request bodies could be replayed to unintended destinations.

Root Cause

The root cause is improper handling of request bodies during cross-origin redirect scenarios in the guarded fetch implementation. The DNS pinning resolution was being performed unconditionally before evaluating the trusted environment proxy configuration, which should have intercepted and properly handled the request flow. This sequencing error allowed request data to leak across origin boundaries when redirects occurred.

Attack Vector

An attacker can exploit this vulnerability through a network-based attack vector requiring user interaction. The attack scenario involves:

  1. Setting up a malicious server that issues redirect responses to attacker-controlled domains
  2. Tricking a user or application into making a request through OpenClaw's fetchWithSsrFGuard function to a seemingly legitimate URL
  3. The malicious server responds with a redirect to the attacker's domain
  4. OpenClaw replays the original request body (potentially containing sensitive data) to the attacker's domain

The following patch from the GitHub commit shows the security fix in src/infra/net/fetch-guard.ts:

typescript
     try {
       assertExplicitProxySupportsPinnedDns(parsedUrl, params.dispatcherPolicy, params.pinDns);
       await assertExplicitProxyAllowed(params.dispatcherPolicy, params.lookupFn, params.policy);
-      const pinned = await resolvePinnedHostnameWithPolicy(parsedUrl.hostname, {
-        lookupFn: params.lookupFn,
-        policy: params.policy,
-      });
       const canUseTrustedEnvProxy =
         mode === GUARDED_FETCH_MODE.TRUSTED_ENV_PROXY && hasProxyEnvConfigured();
       if (canUseTrustedEnvProxy) {
         dispatcher = createHttp1EnvHttpProxyAgent();
       } else if (params.pinDns === false) {
         dispatcher = createPolicyDispatcherWithoutPinnedDns(params.dispatcherPolicy);
       } else {
+        const pinned = await resolvePinnedHostnameWithPolicy(parsedUrl.hostname, {
+          lookupFn: params.lookupFn,
+          policy: params.policy,
+        });
         dispatcher = createPinnedDispatcher(pinned, params.dispatcherPolicy, params.policy);
       }

Source: GitHub Commit Details

The fix defers DNS pinning resolution until after the trusted environment proxy check, ensuring proper request handling flow and preventing request body replay across cross-origin redirects.

Detection Methods for CVE-2026-40037

Indicators of Compromise

  • Unusual outbound requests to external domains immediately following legitimate requests through fetchWithSsrFGuard
  • Network logs showing request bodies being sent to unexpected or untrusted origins
  • HTTP redirect chains that cross origin boundaries while carrying sensitive payload data
  • Anomalous DNS resolution patterns for unfamiliar external domains during fetch operations

Detection Strategies

  • Monitor network traffic for HTTP redirects that result in request body forwarding to different origins
  • Implement logging for all cross-origin redirect scenarios in the application's fetch layer
  • Deploy web application firewall rules to detect and alert on suspicious redirect chains
  • Analyze server logs for patterns of requests that result in unexpected redirect responses

Monitoring Recommendations

  • Enable verbose logging for the fetchWithSsrFGuard function to track redirect behavior
  • Configure network monitoring tools to alert on cross-origin data transfers following redirects
  • Establish baseline metrics for normal redirect patterns and alert on deviations
  • Monitor for connections to newly registered or suspicious domains in fetch operations

How to Mitigate CVE-2026-40037

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.4.8 or later which contains the security patch
  • Review application logs for any signs of exploitation prior to patching
  • Audit any systems that may have processed sensitive data through the vulnerable fetchWithSsrFGuard function
  • Consider implementing additional redirect validation at the application layer as defense-in-depth

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.4.8. The patch modifies the order of operations in the fetch guard implementation, ensuring DNS pinning is only performed when necessary and after trusted proxy evaluation. For detailed patch information, refer to the GitHub Security Advisory and the commit details.

Workarounds

  • Implement strict Content Security Policy (CSP) headers to limit redirect destinations
  • Configure application-level redirect validation to reject cross-origin redirects
  • Use a web application firewall to block or inspect requests involved in redirect chains
  • Temporarily disable or isolate features that rely on fetchWithSsrFGuard until patching is complete
bash
# Update OpenClaw to the patched version
npm update openclaw@2026.4.8

# Verify the installed version
npm list openclaw

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechOpenclaw

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.03%

  • 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 Commit Details

  • GitHub Security Advisory

  • VulnCheck Advisory Analysis
  • Related CVEs
  • CVE-2026-34504: Openclaw SSRF Vulnerability

  • CVE-2026-32913: Openclaw SSRF Vulnerability

  • CVE-2026-31989: Openclaw SSRF Vulnerability

  • CVE-2026-22181: OpenClaw DNS Pinning SSRF Vulnerability
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