CVE-2026-32037: OpenClaw's MSTeams attachment redirect handling could bypass configured media host allowlists
In OpenClaw 2026.2.21-2 and earlier, MSTeams attachment downloads could follow redirects to hosts outside the configured `mediaAllowHosts` list. Someone who can supply or influence an attachment URL can steer the server's request to non-allowlisted targets. Upgrade to openclaw 2026.2.22.
Published Mar 3, 2026 · Updated Mar 20, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw downloads media attachments from Microsoft Teams messages and limits which hosts it will fetch from with mediaAllowHosts. In some attachment paths, redirect chains were not checked against that list before the fetched content was accepted. A URL on an allowed host, or one the attacker can influence, could redirect to a target the operator never allowed.
This is server-side request forgery. The attacker needs no account and no user action per the CVSS 4.0 vector; they only need to get an attachment URL in front of the MSTeams ingestion path. The server then makes a request to the redirect target from its own network position. Internal services, metadata endpoints and other hosts the allowlist was meant to shut out become reachable. The 4.0 vector rates integrity impact as high. The advisory does not document what data comes back or any exploit chain.
The fix commit adds manual redirect handling for MSTeams downloads. It follows a redirect only if the new URL passes isUrlAllowed against the allow list, and sends an auth token on a redirected request only if that URL is on the auth allow list.
Who is affected
openclaw (npm) versions up to and including 2026.2.21-2. Only deployments with the MSTeams channel enabled and downloading attachments are in scope.
npm ls openclawCheck your MSTeams channel config for mediaAllowHosts to see what you intended to allow.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.22
- Fixed in
- 2026.2.22
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.22:
npm install [email protected]The fix commits make MSTeams downloads handle redirects manually. A Location target from a 301, 302, 303, 307 or 308 response is followed only when it passes the host allow list check. The same release enforces byte limits on inbound media downloads for several channels. The sources give no config-only workaround. Keep mediaAllowHosts as narrow as possible and block egress from the host to internal ranges.
How to tell if you were hit
Review egress and proxy logs from the OpenClaw host for requests to hosts outside mediaAllowHosts right after MSTeams attachment fetches, especially to private IP ranges, link-local metadata addresses or unfamiliar domains. Check MSTeams message history for attachment URLs on allowed hosts that return redirects. The sources name no OpenClaw log line for this flaw.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
In OpenClaw MSTeams media download flows, redirect handling could bypass configured mediaAllowHosts checks in specific attachment paths. Redirect chains were not consistently constrained to allowlisted targets before accepting fetched content.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.21-2(latest published at triage time) - Fixed in:
2026.2.22(planned next release)
Impact
Attackers able to supply or influence attachment URLs could force redirect chains to non-allowlisted targets, weakening SSRF boundary controls for MSTeams media ingestion.
Fix Commit(s)
73d93dee64127a26f1acd09d0403b794cdeb4f5cb34097f62df9d1960cc22600269cd3f3284e2124
Release Process Note
patched_versions is pre-set to the planned next release (2026.2.22). Once that npm release is published, this advisory can be published without further version-field edits.
OpenClaw thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Is CVE-2026-32037 a remote code execution bug?
No. It is an SSRF weakness: redirects could escape the
mediaAllowHostsallowlist during MSTeams attachment downloads. The advisory describes no code execution.- Does it affect other chat channels?
The advisory names MSTeams media download flows. The same release also adds download byte limits for other channels, but the sources do not extend this redirect flaw to them.
- Which version fixes it?
openclaw 2026.2.22. Versions up to 2026.2.21-2 are affected.
References
Read for this analysis:
- https://github.com/advisories/GHSA-w76h-8m22-hpgh
- https://github.com/openclaw/openclaw/commit/73d93dee64127a26f1acd09d0403b794cdeb4f5c
- https://github.com/openclaw/openclaw/security/advisories/GHSA-w76h-8m22-hpgh
- https://github.com/openclaw/openclaw/commit/b34097f62df9d1960cc22600269cd3f3284e2124
- https://nvd.nist.gov/vuln/detail/CVE-2026-32037
- https://www.vulncheck.com/advisories/openclaw-redirect-chain-bypass-of-media-host-allowlist-in-msteams-attachment-handling
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
