Skip to main content
Vulnerability Database/CVE-2026-102807

CVE-2026-102807: OpenClaw Authorization Bypass Vulnerability

CVE-2026-102807 is an authorization bypass flaw in OpenClaw that allows read-scoped operators to execute write-protected MCP App tools. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102807 Overview

CVE-2026-102807 is an incorrect authorization vulnerability [CWE-863] in OpenClaw before version 2026.9.4. The flaw resides in the mcp.app.view method within the Model Context Protocol (MCP) gateway. Operators holding read-scoped tokens can obtain a standalone ticket from mcp.app.view and redeem it at the MCP app view endpoint to invoke state-changing tools that require operator.write scope. The result is an authorization boundary bypass that allows read-only principals to execute privileged MCP App tools without proper scope enforcement.

Critical Impact

Attackers holding operator.read tokens can invoke MCP App tools that mutate application state, breaking the read/write scope separation intended by the OpenClaw authorization model.

Affected Products

  • OpenClaw versions prior to 2026.9.4
  • OpenClaw MCP gateway component (src/gateway/mcp-app-standalone.ts)
  • Deployments exposing the mcp.app.view method to operator-scoped tokens

Discovery Timeline

  • 2026-09-29 - CVE CVE-2026-102807 published to NVD
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-102807

Vulnerability Analysis

The vulnerability originates in the OpenClaw MCP gateway's standalone ticket workflow. When an operator with operator.read scope calls mcp.app.view, the gateway issues a standalone ticket that binds a session and view. The redemption path at the MCP app view endpoint did not carry an explicit authorization flag indicating whether tool operations were permitted. Downstream tool invocation logic therefore treated any valid ticket as sufficient authority to execute state-changing tools normally gated by operator.write.

This breaks the least-privilege model the scope system is designed to enforce. Read-scoped tokens should be limited to observational operations, not tool execution that mutates state.

Root Cause

The root cause is missing authorization metadata on the standalone ticket structure. The StandaloneTicketBinding and active view types did not carry a toolOperationsAuthorized boolean, so redemption logic could not distinguish read-only ticket holders from write-scoped ones. The fix in commit 3bd8ec2 introduces the flag and propagates it through ticket creation and redemption.

Attack Vector

An attacker authenticated with an operator.read token issues a request to mcp.app.view to obtain a standalone ticket and its associated URL. The attacker then redeems the ticket at the MCP app view endpoint and invokes tools requiring operator.write. No user interaction is required, and the attack is network-reachable against any exposed OpenClaw gateway.

typescript
// Security patch in src/gateway/mcp-app-standalone.ts
// Fix MCP App standalone ticket authority (#142661)
  sessionKey: string;
  sessionId: string;
  viewId: string;
+ toolOperationsAuthorized: boolean;
  expiresAtMs: number;
};

type StandaloneTicket = { ticket: string; url: string; expiresAtMs: number };
+type StandaloneTicketActiveView = McpAppActiveView & {
+  toolOperationsAuthorized: boolean;
+};

const ticketBindings = new Map<string, StandaloneTicketBinding>();
// Source: https://github.com/openclaw/openclaw/commit/3bd8ec2b39b5f9e80aef0973f7d17eadc745b8f8
typescript
// Security patch in src/gateway/mcp-app-channel-action.ts
  const ticket = createMcpAppStandaloneTicket({
    sessionKey: params.sessionKey,
    view,
+   toolOperationsAuthorized: true,
    nowMs,
  });
  if (!ticket) {
// Source: https://github.com/openclaw/openclaw/commit/3bd8ec2b39b5f9e80aef0973f7d17eadc745b8f8

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-102807

Indicators of Compromise

  • Gateway audit records showing mcp.app.view calls from tokens with operator.read scope followed by tool invocations against the MCP app view endpoint.
  • Standalone ticket redemptions that result in state-changing MCP tool executions attributed to read-scoped session keys.
  • Unexpected mutations to MCP-managed resources correlated with read-only operator identities.

Detection Strategies

  • Correlate token scope claims against the operations performed after ticket redemption to flag scope-privilege mismatches.
  • Alert on any successful tool execution where the originating session was issued a ticket while holding only operator.read.
  • Baseline expected callers of mcp.app.view and alert on redemptions that invoke write-class tools.

Monitoring Recommendations

  • Enable verbose logging on src/gateway/mcp-app-standalone.ts ticket issuance and redemption paths.
  • Ship OpenClaw gateway logs to a centralized analytics platform and retain scope, session, and tool identifiers for correlation.
  • Monitor the volume of standalone ticket issuance per operator token and alert on anomalous spikes.

How to Mitigate CVE-2026-102807

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.9.4 or later, which enforces the toolOperationsAuthorized flag on standalone tickets.
  • Rotate any operator.read tokens that may have been used against vulnerable gateways to invalidate cached sessions.
  • Audit historical MCP app tool invocations to identify state changes performed by read-scoped principals.

Patch Information

The fix is delivered in OpenClaw Release 2026.9.4 via Pull Request #142661 and commit 3bd8ec2. The patch adds a toolOperationsAuthorized boolean to the StandaloneTicketBinding type and requires callers of createMcpAppStandaloneTicket to explicitly set the flag. Redemption logic then enforces the flag before permitting tool execution. See the VulnCheck Advisory on OpenClaw for additional context.

Workarounds

  • Restrict network access to the OpenClaw MCP gateway so that only trusted service accounts can call mcp.app.view until the patch is applied.
  • Temporarily revoke or downgrade operator.read tokens that are not strictly required for production observability.
  • Place a reverse proxy in front of the MCP app view endpoint to deny redemption requests originating from read-scoped sessions.
bash
# Verify installed OpenClaw version and upgrade
openclaw --version
# Upgrade to the patched release
npm install -g openclaw@2026.9.4
# Restart the gateway service after upgrade
systemctl restart openclaw-gateway

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.