# CVE-2026-53821: OpenClaw privilege escalation in trusted-proxy Control UI WebSocket

Source: https://junglewise.ai/threats/cve-2026-53821-openclaw-privilege-escalation-in-trusted-proxy-control-ui  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-12. Updated: 2026-06-12  
License: CC BY 4.0 with a link back

CVE-2026-53821 · Severity: high · CVSS 8.8 · Published 2026-06-12

OpenClaw, a gateway management platform, contains a flaw in how it handles WebSocket connections when configured with 'trusted-proxy' authentication. An attacker with low-level access can bypass security checks to gain administrative privileges. This allows them to execute restricted commands, potentially leading to full control over the gateway and its operations.

Technologies: [openclaw (npm)](https://junglewise.ai/threats/technologies/npm-openclaw), [Openclaw](https://junglewise.ai/threats/technologies/openclaw). Vendors: [npm](https://junglewise.ai/threats/vendors/npm), [Openclaw](https://junglewise.ai/threats/vendors/openclaw).

## Quick answers

**Is CVE-2026-53821 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-53821 being exploited in the wild.

**How severe is CVE-2026-53821?** High severity, with a CVSS score of 8.8, published 12 June 2026.

**Which products and versions are affected?** openclaw (npm) SEMVER:introduced=0,fixed=2026.5.18; Openclaw < 2026.5.18.

**Is there a fix for CVE-2026-53821?** Yes. openclaw (npm): upgrade to 2026.5.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-53821 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-53821?** Check whether you run openclaw (npm) or Openclaw at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openclaw (npm): upgrade to 2026.5.18 or later

  ```sh
  npm install openclaw@2026.5.18
  ```


## Technical details

A missing authorization check (CWE-862) exists in OpenClaw's WebSocket implementation when 'gateway.auth.mode' is set to 'trusted-proxy'. The application incorrectly accepts client-declared operator scopes before they are bound to a server-approved pairing or trusted-proxy authorization baseline. A remote attacker with low privileges can present a fresh, unpaired device identity with elevated requested scopes to obtain 'operator.admin' authority. This authority can be used to execute admin-gated Gateway RPCs on the live WebSocket connection. The vulnerability is patched in version 2026.5.18.

## Affected products

- OpenClaw OpenClaw < 2026.5.18

## Identifiers

- CVE-2026-53821
- GHSA-qjpc-qf9m-xwmr

## Timeline

- 2026-05-28: advisory: GitHub Security Advisory published
- 2026-05-28: patched: Version 2026.5.18 released
- 2026-06-12: disclosed: CVE-2026-53821 published to NVD

## References

- [https://github.com/openclaw/openclaw/security/advisories/GHSA-qjpc-qf9m-xwmr](https://github.com/openclaw/openclaw/security/advisories/GHSA-qjpc-qf9m-xwmr)
- [https://www.vulncheck.com/advisories/openclaw-scope-elevation-in-trusted-proxy-control-ui-websocket](https://www.vulncheck.com/advisories/openclaw-scope-elevation-in-trusted-proxy-control-ui-websocket)

## Related threats

- [OpenClaw incorrect authorization in mcp.app.view method](https://junglewise.ai/threats/cve-2026-102807-openclaw-before-2026-9-4-contains-an-incorrect-authorization)
- [OpenClaw incorrect authorization in Gateway media root allowlist](https://junglewise.ai/threats/cve-2026-102806-openclaw-before-2026-9-5-contains-an-incorrect-authorization)
- [OpenClaw exec approval bypass in Google Meet node commands](https://junglewise.ai/threats/cve-2026-100599-openclaw-versions-2026-5-1-through-2026-7-0-fail-to-apply-the)
- [OpenClaw Signal approval reaction binding logic error](https://junglewise.ai/threats/cve-2026-100598-openclaw-npm-package-openclaw-before-2026-7-1-incorrectly-binds)
- [OpenClaw time-of-check time-of-use race condition in filesystem operations](https://junglewise.ai/threats/cve-2026-100597-openclaw-npm-package-openclaw-before-2026-7-1-is-vulnerable-to-a)
