CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-53850

CVE-2026-53850: Missing Authorization in OpenClaw focus Command Control Scope Enforcement

Alon Barad
Alon Barad
Software Engineer

Jun 19, 2026·5 min read·3 visits

Executive Summary (TL;DR)

A missing authorization check (CWE-862) in the OpenClaw 'focus' command allows authenticated low-privilege users to change the gateway's focus state, bypassing configured controlScope isolation boundaries.

An authorization bypass vulnerability in OpenClaw versions prior to 2026.4.25 allows authenticated users to execute the 'focus' command without proper controlScope validation. Because the routing engine fails to enforce configured access policies on this specific command pathway, low-privilege operators can alter the gateway's global focus state, leading to potential unauthorized cross-channel or cross-session interaction depending on downstream configuration.

Vulnerability Overview

OpenClaw functions as an open-source personal AI assistant gateway designed to route command executions across multiple user sessions, applications, and messaging channels. To enforce security boundaries between these disparate environments, the application implements an access control mechanism referred to as 'controlScope'. The controlScope configuration dictates which commands a given user, channel, or token can execute within the gateway's runtime environment.

A flaw exists in the command registration and routing component of OpenClaw. Specifically, the 'focus' command pathway does not perform validation against the caller's controlScope. This exposes an unauthorized execution path for any caller possessing authenticated access to the gateway interface.

While OpenClaw relies on a trusted-operator model for standard operations, this flaw allows low-privilege callers to transcend their designated scope. The exposure remains confined to environments where multiple logical boundaries share a single gateway node, and where untrusted or restricted operators can execute basic gateway commands.

Root Cause Analysis

The fundamental flaw resides in the lack of explicit authorization checks within the command router for the 'focus' feature, classified under CWE-862 (Missing Authorization). During initialization, the gateway registers commands alongside their required access parameters. However, the registration parameters for 'focus' omitted the validation hook that checks the caller's active context against the target scope.

When a command is issued, the routing logic processes the payload and maps it to the registered execution callback. If the command implementation lacks an explicit declaration to verify the incoming scope, the routing engine executes the state transition unconditionally. The 'focus' command is designed to update state parameters such as active windows, current database schemas, or active user contexts.

Consequently, an authenticated user restricted to a low-trust context can issue a 'focus' command that alters the active state of a high-trust context. The router validates that the user is authenticated, but it fails to confirm whether the user is authorized to perform state modifications on the specified target, allowing unauthorized cross-scope state manipulation.

Structural Control Flow Analysis

The following flowchart illustrates the difference between secure command execution pathways and the insecure 'focus' command execution pathway that led to CVE-2026-53850.

This workflow demonstrates that while standard restricted commands must clear the validation gate, the 'focus' execution path bypasses the access-control filter entirely, leading directly to state modification.

Code Analysis

An examination of the command registration and execution layers in vulnerable versions reveals how the verification step was bypassed. Below is an illustrative representation of the vulnerable routing logic compared with the corrected implementation.

Vulnerable Routing Registration

// In vulnerable versions, command declarations did not enforce controlScope restrictions systematically
router.register('focus', async (context, args) => {
  // VULNERABILITY: No check is performed to see if context.user.scope satisfies args.targetScope
  state.setFocus(args.target);
  return { status: 'success', currentFocus: args.target };
});

Patched Routing Registration

// In version 2026.4.25, the registration explicitly validates the caller context
router.register('focus', async (context, args) => {
  // FIX: Validate the caller's controlScope against the target system resource
  if (!context.controlScope.canAccess(args.target)) {
    throw new AuthorizationError('Inadequate privilege level for the specified target');
  }
  state.setFocus(args.target);
  return { status: 'success', currentFocus: args.target };
});

By adding explicit verification against the target parameter, the gateway prevents unauthorized actors from targeting assets outside their administrative domain. This mitigation completely resolves the bypass, provided that the authorization helper is applied to all active commands.

Attack Methodology & Exploitation Scenario

To exploit this vulnerability, an attacker must first obtain a valid channel or session key allowing command input to the gateway. The exploit does not require administrator privileges, only standard operator access. Once authenticated, the attacker submits a structured command containing the target parameter they wish to manipulate.

Step 1: Querying the Gateway Context

The attacker assesses the active workspace to identify administrative targets. This is accomplished by reviewing accessible public directories or metadata exposed within the standard user interface.

Step 2: Issuing the Bypass Payload

The attacker sends the command payload targeting a restricted context. An example command sequence is structured as follows:

{
  "command": "focus",
  "arguments": {
    "target": "admin-session-04",
    "workspace": "restricted-management-zone"
  }
}

Step 3: State Hijacking

The routing engine processes the instruction. Since no controlScope checks are enforced, the engine shifts the gateway's global active focus parameter to admin-session-04. Subsequent automated actions, context queries, or assistant logs are directed to or evaluated against this administrative channel, leaking information or executing subsequent commands in the context of the hijacked session.

Impact Assessment

The primary impact of CVE-2026-53850 is a loss of integrity. The CVSS v3.1 score is calculated as 5.5 (Medium), with a vector of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. Because the focus state dictates where subsequent instructions or queries are targeted, manipulating this parameter allows a low-privilege operator to redirect processing workflows into high-privilege zones.

The vulnerability does not directly expose variables or system files (Confidentiality: None), nor does it crash the gateway process (Availability: None). However, the alteration of execution scope can be chained with other processing tools to execute unauthorized operations. If the assistant gateway is configured with sensitive downstream plugins (such as local file execution or database write privileges), altering the focus state can cause the assistant to process malicious inputs inside a privileged zone.

Technical Appendix

CVSS Score
5.5/ 10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS Probability
0.09%
Top 100% most exploited

Affected Systems

OpenClaw Gateway deployments running versions prior to 2026.4.25

Affected Versions Detail

Product
Affected Versions
Fixed Version
openclaw
OpenClaw
< 2026.4.252026.4.25
AttributeDetail
CWE IDCWE-862 (Missing Authorization)
Attack VectorLocal (AV:L)
CVSS v3.1 Base Score5.5
CVSS v4.0 Base Score6.8
EPSS Score0.00093 (0.71st percentile)
Impact ClassIntegrity (High)
Exploit StatusNo public functional exploit or proof-of-concept exists
CISA KEV StatusNot listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-862
Missing Authorization

The acquisition or verification of permissions is not performed on an active execution path, enabling an actor to access resources or modify state without matching authorization privileges.

Vulnerability Timeline

Vulnerability published and CVE-2026-53850 assigned
2026-06-16
CVE data synced to the National Vulnerability Database
2026-06-17
GitHub Security Advisory GHSA-mpc8-jxjh-qpgh published
2026-06-18

References & Sources

  • [1]GitHub Security Advisory GHSA-mpc8-jxjh-qpgh
  • [2]NVD - CVE-2026-53850 Detail
  • [3]VulnCheck Advisory for OpenClaw
  • [4]OpenClaw GitHub Project Repository

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•13 minutes ago•CVE-2026-53860
4.2

CVE-2026-53860: Sender Policy Bypass in OpenClaw BlueBubbles Integration

CVE-2026-53860 details an authorization bypass in the OpenClaw AI gateway's BlueBubbles integration. The vulnerability arises because the sender policy check validates mutable conversation-level metadata rather than verified, stable sender identities. This allows unauthorized group chat participants to manipulate metadata, match allowlist rules, and run unauthorized AI agent actions.

Alon Barad
Alon Barad
0 views•6 min read
•about 1 hour ago•CVE-2026-53853
8.3

CVE-2026-53853: Protection Mechanism Bypass and Incorrect Authorization in OpenClaw Execution Gateway

An incorrect authorization vulnerability in OpenClaw before 2026.5.12 allows authenticated attackers with low privileges to bypass the argument restriction policy on Linux and macOS platforms. By exploiting the omitted validation of the argPattern parameter, attackers can execute allowlisted binaries with arbitrary command line arguments, leading to unauthorized code execution and system compromise.

Alon Barad
Alon Barad
1 views•6 min read
•about 1 hour ago•CVE-2026-53846
7.1

CVE-2026-53846: Arbitrary Command Execution via Workspace .env Hijacking in OpenClaw

OpenClaw versions prior to 2026.4.29 contain an untrusted search path vulnerability in the install helper module. By loading an untrusted workspace containing a crafted .env file, the application allows overriding critical environment variables, specifically npm_execpath, leading to arbitrary command execution in the context of the running process. This vulnerability is tracked as CVE-2026-53846 and GHSA-24vr-rprv-67rf.

Alon Barad
Alon Barad
5 views•6 min read
•about 3 hours ago•CVE-2026-53849
8.6

CVE-2026-53849: Privilege Escalation and Authentication Bypass via Mutable Discord Display Names in OpenClaw allowFrom

OpenClaw before version 2026.5.7 contains a security vulnerability where the allowFrom feature improperly validates Discord account identity using mutable display names rather than immutable user IDs. This allows remote attackers to bypass authorization controls and escalate privileges by changing their Discord display or global names to match a configured policy entry.

Alon Barad
Alon Barad
3 views•6 min read
•about 3 hours ago•CVE-2026-53858
7.1

CVE-2026-53858: Local Code Execution via Untrusted Search Path in OpenClaw

OpenClaw versions prior to 2026.5.2 are vulnerable to an untrusted search path flaw (CWE-426) during workspace initialization. When an operator opens a workspace, the application parses the workspace's local `.env` file and uses the unvalidated `STATE_DIRECTORY` variable to resolve and execute bundled runtime dependencies. An attacker can exploit this to achieve local code execution under the security context of the operator.

Alon Barad
Alon Barad
2 views•7 min read
•about 4 hours ago•CVE-2026-53865
7.2

CVE-2026-53865: Arbitrary Local Command Execution in OpenClaw via Untrusted Search Path

A critical untrusted search path vulnerability (CWE-426) exists in OpenClaw, an open-source, multi-platform personal AI assistant. In versions prior to 2026.5.2 (and up to 2026.5.26 in specific deployment configurations), the application merges workspace-derived configuration parameters into the operating system environment object. When executing administrative maintenance routines, OpenClaw invokes external system commands, such as the 'trash' utility, without verifying the underlying executable path. This allows a low-privileged local user or workspace collaborator to hijack binary execution flows, resulting in arbitrary command execution within the privilege context of the OpenClaw service wrapper.

Amit Schendel
Amit Schendel
3 views•6 min read