CVE-2026-40037

OpenClaw < 2026.4.8 - Unsafe Request Body Replay via fetchWithSsrFGuard Cross-Origin Redirects

Published Apr 8, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
OpenClaw before 2026.4.8 contains a request body replay vulnerability in fetchWithSsrFGuard 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.

Analysis

AI-generated

Technical impact

The vulnerability arises from a request body replay flaw in the fetchWithSsrFGuard function of OpenClaw. By causing a cross‑origin redirect, an attacker can force the original request body—or sensitive headers—to be resent to an unintended origin, leading to unauthorized leakage of request data. This weakness falls under improper control over redirects, enabling data disclosure.

Affected Systems

OpenClaw versions earlier than 2026.4.8 are affected. The fix was applied in release 2026.4.8. Users running any earlier build, regardless of operating system, should verify that they are not executing vulnerable code.

Risk and Exploitability

The CVSS score of 7.1 indicates moderate to high risk, primarily impacting confidentiality through potential data exfiltration. The EPSS score is < 1%, indicating a low probability of exploitation in the wild. The vulnerability is not listed in CISA KEV. Exploitation requires the ability to induce a cross‑origin redirect, which can be achieved by influencing user input or manipulating client HTTP requests in many web contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.4.8 or later, which removes the vulnerable fetchWithSsrFGuard implementation.
  • If an upgrade cannot be performed immediately, disable or prevent the use of fetchWithSsrFGuard by configuring OpenClaw to reject any redirect that changes the request origin or by implementing a custom middleware that blocks such redirects.
  • Add WAF or reverse‑proxy rules to inspect requests to the vulnerable endpoint, ensuring that sensitive headers and request bodies are not sent to unintended origins.

Generated by OpenCVE AI on October 29, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qx8j-g322-qj6m OpenClaw: `fetchWithSsrFGuard` replays unsafe request bodies across cross-origin redirects
History
Type Values Removed Values Added
Description OpenClaw before 2026.3.31 (patched in 2026.4.8) contains a request body replay vulnerability in fetchWithSsrFGuard 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. OpenClaw before 2026.4.8 contains a request body replay vulnerability in fetchWithSsrFGuard 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.
Title OpenClaw < 2026.3.31 - Unsafe Request Body Replay via fetchWithSsrFGuard Cross-Origin Redirects OpenClaw < 2026.4.8 - Unsafe Request Body Replay via fetchWithSsrFGuard Cross-Origin Redirects
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description OpenClaw before 2026.3.31 (patched in 2026.4.8) contains a request body replay vulnerability in fetchWithSsrFGuard 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.
Title OpenClaw < 2026.3.31 - Unsafe Request Body Replay via fetchWithSsrFGuard Cross-Origin Redirects
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-601
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, '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'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:15 PM
Reserved
Apr 8, 2026, 1:39 PM
Status
Modified
Published
Apr 8, 2026, 10:16 PM
Modified
Oct 29, 2026, 9:17 PM