Openclaw cli: OpenClaw: `fetchWithSsrFGuard` replays unsafe request bodies across cross-origin redirects (CVE-2026-40037)
Description
The OpenClaw CLI vulnerability (CVE-2026-40037) involves the `fetchWithSsrFGuard` function replaying unsafe request bodies across cross-origin redirects. This could cause guarded fetch operations to resend unsafe request bodies or headers when following redirects to different origins. The issue affects the openclaw npm package versions from 2026.1.29 up to but not including 2026.4.8. A patch is available in version 2026.4.8 that fixes this behavior.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40037 is a vulnerability in the openclaw npm package where the `fetchWithSsrFGuard` function improperly replays unsafe request bodies and headers during cross-origin redirects. This behavior violates the intended security boundary within the OpenClaw trust model, potentially exposing sensitive data during redirect handling. The vulnerability is scoped to the OpenClaw local assistant environment and does not assume a multi-tenant service context. The issue was fixed in commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5 and released in openclaw version 2026.4.8.
Potential Impact
The vulnerability allows unsafe request bodies and headers to be resent across cross-origin redirects, which could lead to unintended data exposure or leakage within the context of the OpenClaw local assistant. Since the trust model is user-controlled and not multi-tenant, the impact is limited to the local environment where OpenClaw is used. There are no known exploits in the wild.
Mitigation Recommendations
A fix is available and has been released in openclaw version 2026.4.8. Users should upgrade to this version or later to remediate the vulnerability. The fix has been verified with regression tests to ensure the security boundary is enforced correctly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-40037
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac245a812601ec6a31661b6
Added to database: 10/04/2026, 12:25:12 UTC
Last enriched: 10/04/2026, 12:52:25 UTC
Last updated: 10/04/2026, 16:08:38 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.