CVE-2026-44118: OpenClaw: MCP loopback owner context is derived from server-issued bearer tokens
OpenClaw 2026.4.21 and earlier trusted a request header on its MCP loopback endpoint to say whether the caller is the owner. A local, non-owner client could set that header and run owner-only operations. Version 2026.4.22 issues separate owner and non-owner bearer tokens and ignores the header.
Published May 4, 2026 · Updated May 12, 2026 · Analysis Oct 28, 2026
What an attacker can do
OpenClaw runs an MCP server on the loopback interface. Requests carry a bearer token, and the gateway also decided whether the sender is the owner, which gates sensitive operations. Before the fix, that owner flag came from request metadata in a header, x-openclaw-sender-is-owner, which the client set itself. Anyone able to reach the loopback port with a valid bearer token could claim to be the owner. The matching OPENCLAW_MCP_SENDER_IS_OWNER environment variable carried the same value to child runs.
The attacker is a local, low-privilege client: another process on the machine, or a lower-trust agent run that holds a non-owner token. The CVSS vector is local with low privileges and no user interaction. With the spoofed header, the client reaches operations that were meant for the owner only, and the vector rates confidentiality, integrity and availability impact as high.
The advisory does not list which owner-gated operations are exposed. It describes the flaw as an authentication bypass by spoofing (CWE-290): the trust decision rested on data the caller controls.
Who is affected
The npm package openclaw at 2026.4.21 and earlier. The risk exists where other local processes or lower-trust agent runs can reach the MCP loopback endpoint. Check the version:
npm ls -g openclawopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.4.21
- Fixed in
- 2026.4.22
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.4.22 or later:
npm install -g openclaw@latestThe fix commit 3cb1a56 makes the MCP loopback runtime issue two bearer tokens, one for owners and one for non-owners. The server sets senderIsOwner only from which token authenticated the request, in validateMcpLoopbackRequest and resolveMcpRequestContext in src/gateway/mcp-http.request.ts. The x-openclaw-sender-is-owner header and the OPENCLAW_MCP_SENDER_IS_OWNER variable are removed. The advisory states no workaround.
How to tell if you were hit
Check gateway and MCP request logs for loopback requests that carry an x-openclaw-sender-is-owner header; on a patched version such a header is ignored. Look for owner-gated actions performed in sessions that should have been non-owner. Review other local processes with access to the loopback MCP port. Beam records agent MCP tool calls, so owner-level tool calls from an agent session that should be restricted would show in its history.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
MCP loopback owner context is derived from server-issued bearer tokens.
Affected Packages / Versions
- Package: openclaw (npm)
- Affected versions: <= 2026.4.21
- Fixed version: 2026.4.22
Impact
The loopback MCP path accepted spoofable owner-context metadata from request headers, which could allow a non-owner loopback client to present itself as owner for owner-gated operations.
Fix
The MCP loopback runtime now issues separate owner and non-owner bearer tokens and derives senderIsOwner exclusively from which token authenticated the request. The spoofable sender-owner header is no longer emitted or trusted.
Fix Commit(s)
- 3cb1a56bfc9579a0f2336f9cfa12a8a744332a19
Verification
- The fix commit is contained in the public v2026.4.22 tag.
- [email protected] is published on npm and the compiled package contains the fix.
- Focused regression coverage for this path passed before publication.
OpenClaw thanks @VladimirEliTokarev for reporting.
Credited to VladimirEliTokarev.
Questions
- Is OpenClaw 2026.4.21 affected by CVE-2026-44118?
Yes. Versions up to and including 2026.4.21 are affected. The fix is in 2026.4.22.
- Can this be exploited remotely?
The CVSS vector is local. The affected path is the MCP loopback endpoint, so the attacker needs local access with a valid non-owner bearer token.
- What changed in the fix?
Owner status now comes only from which of two bearer tokens authenticated the request. The spoofable sender-owner header is no longer emitted or trusted.
References
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
