
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40037 is a request body replay vulnerability in OpenClaw's fetchWithSsrFGuard function that allows unsafe request bodies and headers to be resent across cross-origin redirects. It affects OpenClaw (npm package) versions before 2026.3.31, with a patch available in version 2026.4.8. The vulnerability was disclosed on April 8, 2026, and is scoped to OpenClaw's user-controlled local assistant trust model rather than a multi-tenant service boundary. It carries a CVSS v3.1 score of 6.5 (Medium) and a CVSS v4.0 score of 7.1 (High) (Github Advisory, Feedly).
The root cause is classified as CWE-601 (URL Redirection to Untrusted Site / Open Redirect), where the fetchWithSsrFGuard function in OpenClaw's network fetch guard (src/infra/net/fetch-guard.ts) fails to strip or block unsafe request bodies and sensitive headers when following cross-origin redirects. An attacker can exploit this by crafting or triggering a redirect from a legitimate origin to an attacker-controlled cross-origin destination, causing the guarded fetch to replay the original request body and headers — including potentially sensitive values like Authorization — to the unintended target. The fix, applied in commit d7c3210, also addressed a related DNS pinning bypass in trusted proxy mode and added targeted regression tests for the affected security boundary (Github Advisory, Patch Commit).
Successful exploitation results in a high confidentiality impact: sensitive request data — including HTTP request bodies and headers such as Authorization tokens — can be exfiltrated to attacker-controlled cross-origin destinations. There is no integrity or availability impact. Because OpenClaw is a user-controlled local assistant rather than a multi-tenant service, the blast radius is limited to the individual user's session data and credentials transmitted through the affected fetch function (Github Advisory, Feedly).
No public proof-of-concept exploit code is known to exist, and there is no evidence of active in-the-wild exploitation as of the time of disclosure. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.03%, reflecting a very low probability of exploitation in the near term. Exploitation requires user interaction (passive), meaning a victim must perform an action that triggers the vulnerable fetch with a cross-origin redirect (Feedly).
fetchWithSsrFGuard function.fetchWithSsrFGuard to send a request (with a body or sensitive headers such as Authorization) to the intermediate server.fetchWithSsrFGuard function follows the cross-origin redirect without stripping the request body or sensitive headers, resending them to the attacker-controlled origin, where they can be logged and exfiltrated (Github Advisory).Authorization or other sensitive headers.Authorization headers that should only have been sent to the original origin.Upgrade the OpenClaw npm package to version 2026.4.8 or later, which contains the fix applied in commit d7c3210. Versions prior to 2026.3.31 are confirmed vulnerable. As an interim measure, organizations can implement network-level controls to monitor and restrict unexpected cross-origin redirect behavior from OpenClaw instances, and review access logs for evidence of sensitive data being sent to unintended origins (Github Advisory, Patch Commit).
The vulnerability was reported by researcher @BG0ECV and published by maintainer @steipete on April 8, 2026. The original GitHub advisory (GHSA-qx8j-g322-qj6m) was supplemented by a duplicate advisory (GHSA-pg8g-f2hf-x82m) that was subsequently withdrawn on April 10, 2026, with a note preserving external references. No significant broader media coverage or notable community commentary beyond the advisory publication has been identified (Github Advisory, Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."