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-53852

CVE-2026-53852: Scope Containment Bypass in OpenClaw Device Re-pairing

Amit Schendel
Amit Schendel
Senior Security Researcher

Jun 19, 2026·8 min read·16 visits

Executive Summary (TL;DR)

An authorization bypass in OpenClaw allows authenticated operators to retain elevated privileges during device re-pairing by submitting an empty scope array, skipping containment guards.

OpenClaw versions prior to 2026.4.25 are subject to a scope containment bypass vulnerability in the device re-pairing component. When processing re-pairing requests, the application backend fails securely, allowing authenticated operators to bypass authorization containment policies. By submitting a re-pairing payload with an empty or omitted scope array, an operator can skip containment checks and retain broader, previously established administrative privileges. This vulnerability is classified under CWE-636: Not Failing Securely ('Failing Open').

Vulnerability Overview

OpenClaw is an open-source platform designed to facilitate connection management, authorization, and message routing for client devices within a Node.js runtime environment. Within this architecture, device sessions are governed by distinct authorization scopes that enforce the principle of least privilege. Under normal operating conditions, client devices authenticate and obtain a specific set of active scopes, which are then validated against backend access control lists during subsequent API requests. This containment strategy limits the lateral capability of individual devices on the network.

During lifecycle operations, client devices frequently undergo a process known as re-pairing. Re-pairing is used to rotate cryptographic key material, update connection parameters, or renegotiate active session scopes. The design of OpenClaw permits a client to request a subset of its allowed scopes to dynamically reduce its exposure during specific operations. This subset negotiation is handled by dedicated authorization guards that evaluate incoming requests to ensure they do not exceed the scope boundary established during initial device provisioning.

CVE-2026-53852 describes a scope containment bypass vulnerability residing in the device re-pairing routine of OpenClaw. The flaw is classified under CWE-636: Not Failing Securely ('Failing Open'). When an authenticated operator submits a re-pairing request containing an empty or falsy scope parameter, the system's authorization guard fails open. Instead of restricting the session to an empty set of permissions, the validation logic is bypassed entirely, allowing the caller to retain or restore a broader set of administrative permissions than intended. This exposes the application to unauthorized actions from otherwise restricted device sessions.

Root Cause Analysis

The technical root cause of CVE-2026-53852 lies within the conditional validation logic of the pairing module, specifically when parsing the requestedScopes array. In secure systems, input validation must verify that requested access privileges are a strict subset of the user's allocated permissions. If the input is empty or omitted, the default safe state must be to grant zero active scopes, thus failing closed. The vulnerability arises because OpenClaw's implementation treats an empty array ([]) or a null value as an indication that no modification to the active session scopes is required, skipping the containment check entirely.

When a device issues a re-pairing request, the application backend processes the request via an authorization handler. The handler evaluates whether the client-supplied requestedScopes contains values. The check is implemented using a conditional statement that only initiates the validation and scope-updating routine if the array exists and has a length greater than zero. If the array is empty, control flows directly to the completion routine without executing the subset constraint logic or modifying the active scope array.

This behavior allows the session to preserve its pre-existing, higher-privileged authorization state. Because the system does not overwrite the active session scopes with the requested empty list, the containment mechanism is effectively bypassed. The failure to handle empty inputs securely violates the principle of complete mediation, wherein every access request must be checked for authority. This logic error allows lower-privileged, contained operators to escape their restriction boundaries.

Code Analysis

The vulnerability is illustrated by analyzing the logical flow within the pairing verification component. The vulnerable code pattern fails to handle empty inputs securely, relying on an improper existence check that permits the bypass of downstream assignments. Under this implementation, the backend does not enforce the restricted scope set when the payload's scopes property is empty.

// Vulnerable Code Pattern
export async function processRepairingRequest(device, requestedScopes: string[]) {
  // Bypassing guard: If requestedScopes is empty, the check is skipped entirely
  if (requestedScopes && requestedScopes.length > 0) {
    for (const scope of requestedScopes) {
      if (!device.allowedScopes.includes(scope)) {
        throw new Error(`Unauthorized scope: ${scope}`);
      }
    }
    device.activeScopes = requestedScopes;
  } else {
    // FAIL OPEN: An empty scope set skips the restriction guard
    logger.warn("Re-pairing request received with empty scope set. Retaining previous active scopes.");
  }
  await device.save();
  return { status: "success", scopes: device.activeScopes };
}

The patched implementation resolves the vulnerability by removing the conditional bypass and standardizing the incoming array. If the requestedScopes parameter is null or undefined, the system defaults to an empty array. The containment guard then iterates over this array, ensuring that any elements present are validated. Crucially, the assignment device.activeScopes = scopesToAuthorize is executed unconditionally, forcing the session to accept the empty set if no valid scopes are provided.

// Repaired Code Pattern
export async function processRepairingRequest(device, requestedScopes: string[]) {
  // Standardize the input array: default to an empty list rather than skipping
  const scopesToAuthorize = requestedScopes || [];
 
  // Containment guard: always validates every scope requested
  for (const scope of scopesToAuthorize) {
    if (!device.allowedScopes.includes(scope)) {
      throw new Error(`Scope containment violation: ${scope} is not allowed.`);
    }
  }
 
  // Assign the exact restricted subset (even if empty)
  device.activeScopes = scopesToAuthorize;
  await device.save();
  return { status: "success", scopes: device.activeScopes };
}

While this fix is effective against the specific vector of empty arrays, overall security remains dependent on strict type-checking at the API gateway layer. If the API parser allows non-array objects or nested structures to reach this logic, further bypass variants might arise. To achieve complete remediation, input schemas must enforce strict validation of the requestedScopes field, rejecting payloads that deviate from a flat array of strings.

Exploitation Methodology

Exploitation of CVE-2026-53852 requires the attacker to possess authenticated operator credentials with at least low-privilege access to the target OpenClaw deployment. The attacker must also have access to an active session associated with a specific device identifier. The objective of the attack is to bypass containment restrictions and retain or elevate the active privileges associated with the device session.

The attack begins with the interception or construction of a legitimate device re-pairing request. Typically, these requests are transmitted via HTTP POST to the pairing endpoints, such as /api/device/repair or /api/v1/auth/repairing. A normal request specifies a list of reduced scopes in the payload. To execute the bypass, the attacker modifies this payload, substituting the requested scopes array with an empty array [] or a null value.

Upon receiving the malformed JSON payload, the vulnerable backend executes the processRepairingRequest routine. Because the requestedScopes array contains zero elements, the application bypasses the scope update logic entirely. The database session remains configured with the broader, pre-existing administrative scopes. The attacker can then issue requests to high-privilege endpoints, executing administrative actions that should have been restricted by the re-pairing containment policy. This permits full lateral movement within the compromised scope boundaries.

Security Impact Assessment

The security impact of CVE-2026-53852 is characterized by the loss of session isolation and the failure of privilege containment mechanisms. Although the National Vulnerability Database assigns a CVSS v3.1 score of 5.4 (Medium), and the CNA assigns a CVSS v4.0 score of 2.3 (Low), the flaw represents a fundamental breakdown of the system's access control architecture. In multi-tenant or multi-tier deployments, the ability to bypass scope restrictions undermines the trust boundaries established between low-privilege operators and high-privilege control resources.

The difference between the CVSS v3.1 and v4.0 ratings lies in the evaluation of environmental requirements and attack attributes. The CVSS v4.0 vector introduces the "Attack Requirements" metric, set to Present (AT:P). This reflects the dependency on a pre-existing configuration state: the target system must have previously granted broader scopes to the session for the bypass to yield elevated access. If the session never possessed high-privilege scopes, submitting an empty array will not escalate permissions.

As of the current assessment, there is no evidence of active exploitation in the wild, and the EPSS score remains low at 0.00164, representing a 0.164% probability of exploitation within 30 days. Despite the low public exploit maturity, organizations deploying OpenClaw in production environments must treat this vulnerability as significant, particularly if their operations rely on device-level scope confinement to isolate untrusted or external networks.

Remediation and Detection Guidance

Remediation of CVE-2026-53852 requires upgrading all affected OpenClaw deployments to version 2026.4.25 or higher. This release contains the updated pairing logic that ensures empty scope requests default to a closed state, effectively removing the bypass vector. Administrators must verify that the deployment successfully transitions to the patched codebase and that no beta-level versions before 2026.4.25 remain active.

If immediate upgrading is not feasible, temporary mitigation can be achieved through the implementation of Web Application Firewall (WAF) rules or API gateway policies. These rules must inspect incoming traffic to the /api/device/repair and /api/v1/auth/repairing endpoints. Any request containing an empty array or missing parameter for the scopes field must be blocked or rejected with an HTTP 400 Bad Request response before the request is processed by the application layer.

In addition to input filtering, security teams must audit application logs for historical pairing requests. Search queries should target payloads where the scopes parameter is empty or null, followed by requests to administrative endpoints from the same session. This forensic analysis is critical for identifying potential past exploitation attempts and assessing whether unauthorized actions were executed prior to the application of the patch. Proper schema validation schemas, such as Joi or Zod, should be integrated into the route handler to enforce non-empty arrays where appropriate.

Official Patches

OpenClawVendor Security Advisory

Technical Appendix

CVSS Score
5.4/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS Probability
0.16%
Top 94% most exploited

Affected Systems

OpenClaw (Node.js environments)

Affected Versions Detail

Product
Affected Versions
Fixed Version
OpenClaw
OpenClaw
< 2026.4.252026.4.25
AttributeDetail
CWE IDCWE-636
Attack VectorNetwork
CVSS v3.1 Score5.4 (Medium)
CVSS v4.0 Score2.3 (Low)
EPSS Score0.00164 (0.164% probability)
Exploit StatusNone (No public PoC)
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1548Abuse Elevation Control Mechanism
Privilege Escalation
CWE-636
Not Failing Securely ('Failing Open')

The system 'fails open' when validation is skipped or defaults to a high-privilege configuration upon receiving empty or unexpected input.

Vulnerability Timeline

Vulnerability patched and official security advisory GHSA-8mg9-j9cf-54cj released
2026-06-16
CVE-2026-53852 registered and published
2026-06-16
NVD record updated with CVSS assessment
2026-06-17

References & Sources

  • [1]GitHub Security Advisory GHSA-8mg9-j9cf-54cj
  • [2]VulnCheck Intelligence Advisory
  • [3]Official CVE Record

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

•1 day ago•CVE-2026-54068
5.9

CVE-2026-54068: Unauthenticated Server-Side Template Injection and SQLite Exfiltration in SiYuan PKM

An authentication bypass in the SiYuan personal knowledge management system before version 3.7.0 exposes a dynamic icon rendering endpoint. This endpoint processes client-supplied Go template directives. By submitting a crafted request, an unauthenticated remote attacker can leverage registered database template functions to execute arbitrary read-only SQL queries and exfiltrate workspace contents.

Amit Schendel
Amit Schendel
11 views•5 min read
•1 day ago•CVE-2026-54069
9.1

CVE-2026-54069: Authentication Bypass in SiYuan Note via Origin Header Spoofing

CVE-2026-54069 is a critical authentication bypass vulnerability in the SiYuan Note personal knowledge management system. The flaw is located in the HTTP server's middleware handling API authorization, which unconditionally trusts requests carrying a 'chrome-extension://' scheme in the Origin HTTP header, granting administrative access without validating API tokens.

Alon Barad
Alon Barad
9 views•5 min read
•1 day ago•CVE-2026-54089
9.1

CVE-2026-54089: Authentication Bypass by Spoofing in File Browser

CVE-2026-54089 is a critical authentication bypass vulnerability in File Browser affecting instances configured with proxy-based authentication. An unauthenticated remote attacker with direct network access can impersonate arbitrary users or register new accounts by spoofing configured HTTP headers.

Amit Schendel
Amit Schendel
7 views•7 min read
•1 day ago•GHSA-99J7-FHR2-XFJ4
10.0

GHSA-99J7-FHR2-XFJ4: Malicious Remote Code Execution Payload in 'exploration' Cargo Crate

The malicious Cargo package 'exploration' was uploaded to the crates.io registry. During compilation or package import, the crate executes code designed to establish an outbound TCP/HTTP connection, download an external second-stage binary, and execute the binary locally on the host machine. This creates an unauthenticated remote code execution vector impacting developer environments and continuous integration pipelines.

Amit Schendel
Amit Schendel
9 views•6 min read
•1 day ago•CVE-2026-54088
9.3

CVE-2026-54088: Pre-Authentication Remote Code Execution in File Browser Hook Authentication

CVE-2026-54088 is a critical command injection vulnerability in File Browser prior to version 2.63.6. When Hook Authentication is enabled, the application interpolates unsanitized credentials into a shell command, allowing unauthenticated remote code execution.

Alon Barad
Alon Barad
7 views•6 min read
•1 day ago•GHSA-QV4M-M73M-8HJ7
8.8

GHSA-qv4m-m73m-8hj7: Authenticated Arbitrary File Upload leading to Remote Code Execution in NotrinosERP

An authenticated remote code execution vulnerability exists in NotrinosERP (versions up to and including 1.0.0) within the Human Resource Management (HRM) module. Users with employee management permissions can upload arbitrary file types, including PHP scripts, which are written directly to a web-accessible directory. This allows for arbitrary code execution in the context of the web-server user.

Alon Barad
Alon Barad
7 views•6 min read