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



GHSA-H4JX-HJR3-FHGC

GHSA-H4JX-HJR3-FHGC: Privilege Escalation via Synthetic Administrator Scopes in OpenClaw Gateway Plugin Subagent

Amit Schendel
Amit Schendel
Senior Security Researcher

Mar 29, 2026·5 min read·31 visits

Executive Summary (TL;DR)

OpenClaw Gateway Plugin Subagent improperly injects an administrative scope during session deletion, allowing low-privileged plugins to delete arbitrary sessions.

The OpenClaw platform versions up to 2026.3.24 contain a high-severity incorrect authorization vulnerability within the Gateway Plugin Subagent runtime. A hardcoded synthetic scope grants administrative privileges to the `deleteSession` method, allowing any plugin to bypass authorization and delete arbitrary session data across the instance.

Vulnerability Overview

The OpenClaw platform utilizes a Gateway Plugin Subagent to manage execution contexts for various plugins. This subagent runtime operates as an intermediary, processing requests from individual plugins and dispatching them to the central gateway backend. The architecture relies on strict privilege separation, ensuring that plugins can only access resources explicitly granted to their execution context.

A high-severity vulnerability exists in the deleteSession method of the subagent runtime. This method facilitates the removal of session data and associated transcripts. The vulnerability arises from an incorrect privilege assignment (CWE-266) where the method programmatically elevates its own privileges before dispatching the deletion request to the gateway.

By injecting a synthetic administrative scope, the subagent overrides the actual caller's security context. This exposes a direct authorization bypass to any plugin interacting with the subagent runtime. A low-privileged actor can leverage this flaw to perform administrative actions, specifically the deletion of arbitrary session data belonging to other users or administrators across the entire OpenClaw instance.

Root Cause Analysis

The root cause of this vulnerability is a hardcoded security bypass mechanism within the src/gateway/server-plugins.ts file. The OpenClaw gateway backend exposes a sessions.delete method, which enforces strict authorization checks to ensure the caller owns the target session or possesses global administrative rights.

To allow subagents to manage their own sessions, the developers implemented a wrapper method named deleteSession. This wrapper utilizes the dispatchGatewayMethod function to communicate with the backend. However, instead of passing the caller's authentic security context, the implementation includes a hardcoded options object containing { syntheticScopes: [ADMIN_SCOPE] }.

The syntheticScopes parameter is an internal system mechanism designed for automated, highly trusted background tasks that require elevated privileges. Exposing this mechanism within a generic plugin API creates an immediate privilege escalation path. When the gateway receives the sessions.delete request, it evaluates the injected ADMIN_SCOPE rather than the caller's actual token, concluding that the request originates from a system administrator.

Code Analysis and Patch Verification

The vulnerability manifests in the src/gateway/server-plugins.ts file within the deleteSession method implementation. The code explicitly overrides the authorization context by passing a third argument to dispatchGatewayMethod.

    async deleteSession(params) {
      await dispatchGatewayMethod(
        "sessions.delete",
        {
          key: params.sessionKey,
          deleteTranscript: params.deleteTranscript ?? true,
        },
        {
          syntheticScopes: [ADMIN_SCOPE],
        },
      );
    },

The patched version removes the options object entirely. By omitting the syntheticScopes argument, the dispatchGatewayMethod falls back to its default behavior. It extracts the security context from the active plugin caller rather than applying a hardcoded override.

    async deleteSession(params) {
      await dispatchGatewayMethod("sessions.delete", {
        key: params.sessionKey,
        deleteTranscript: params.deleteTranscript ?? true,
      });
    },

This change ensures that the gateway backend receives the authentic execution context. The backend will subsequently perform a standard authorization check, verifying if the caller possesses the necessary permissions or ownership over the requested sessionKey. The fix completely addresses the privilege escalation vector in this specific method.

Exploitation Methodology

Exploitation requires network access to the OpenClaw instance and low-level privileges capable of triggering a plugin that utilizes the subagent runtime. No user interaction or administrative access is necessary. The attacker identifies a vulnerable plugin endpoint that passes user-controlled parameters to the subagent's deleteSession method.

The attacker crafts a payload specifying a target sessionKey that belongs to another user or an administrator. When the plugin invokes deleteSession, the subagent intercepts the request and appends the ADMIN_SCOPE before forwarding it to the gateway.

The gateway backend processes the request under the assumption that it originated from an administrator. The session and its associated transcripts are permanently deleted from the system data store. The attacker receives a standard success confirmation, confirming the data destruction.

Impact Assessment

The vulnerability carries a High severity rating with a CVSS v3.1 base score of 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The impact encompasses complete loss of integrity and availability for session data and transcripts managed by the OpenClaw platform.

An attacker can systematically enumerate and delete active sessions, forcing widespread administrative logouts and causing a persistent denial-of-service condition for authenticated users. The deletion of session transcripts also presents a severe data destruction risk, particularly in environments where OpenClaw logs contain critical audit trails or operational data.

While the confidentiality impact is rated High in the CVSS vector, this pertains to the loss of protection over the data's lifecycle rather than direct data exfiltration. The attacker cannot directly read the sessions, but they exercise total control over their existence. The public availability of a functional proof-of-concept increases the likelihood of active exploitation.

Remediation and Mitigation Guidance

The primary remediation strategy requires updating the openclaw NPM package to version 2026.3.25 or later. This release contains the complete fix for the authorization bypass in src/gateway/server-plugins.ts.

Organizations utilizing custom plugins or heavily modified forks of OpenClaw must audit their codebase. Security teams should search for instances of syntheticScopes or ADMIN_SCOPE being passed to dispatchGatewayMethod or similar internal APIs. Any usage within public-facing or user-triggerable plugin methods constitutes a direct privilege escalation vulnerability.

If immediate patching is not feasible, implement network-level monitoring to detect exploitation attempts. Security engineers should configure alerting for gateway logs exhibiting an unusually high volume of sessions.delete operations. Specifically, monitor for deletion events originating from subagent contexts that target session keys outside the caller's expected ownership domain.

Official Patches

OpenClawOfficial fix commit removing synthetic scopes

Fix Analysis (1)

Technical Appendix

CVSS Score
8.8/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Systems

OpenClaw GatewayOpenClaw Plugin Subagent Runtime

Affected Versions Detail

Product
Affected Versions
Fixed Version
openclaw
OpenClaw
<= 2026.3.242026.3.25
AttributeDetail
CWE IDCWE-266
Attack VectorNetwork
Privileges RequiredLow
CVSS Base Score8.8
ImpactHigh (Data Destruction & Privilege Escalation)
Exploit StatusFunctional PoC Available

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
T1485Data Destruction
Impact
CWE-266
Incorrect Privilege Assignment

Incorrect Privilege Assignment

Vulnerability Timeline

Vulnerability discovered and reported.
2026-03-24
Official patch released in version 2026.3.25.
2026-03-25
Technical fix commit finalized and advisory published.
2026-03-26

References & Sources

  • [1]GitHub Advisory: GHSA-H4JX-HJR3-FHGC
  • [2]Aliyun AVD: AVD-2026-1863802
  • [3]OpenClaw Fix Commit
  • [4]OpenClaw Vulnerability Tracker

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

•41 minutes ago•CVE-2026-62899
5.9

CVE-2026-62899: .NET Security Feature Bypass Vulnerability (HTTP Request Smuggling)

CVE-2026-62899 is a security feature bypass vulnerability in the Microsoft .NET runtime environment on non-Windows platforms. The flaw manifests as an HTTP Request/Response Smuggling vulnerability (CWE-444) within the managed implementation of the System.Net.HttpListener class. This allows unauthenticated remote attackers to desynchronize request boundaries when the backend .NET application is hosted behind an upstream reverse proxy.

Amit Schendel
Amit Schendel
0 views•6 min read
•about 2 hours ago•CVE-2026-62901
7.5

CVE-2026-62901: Remote Denial of Service via Infinite Loop in .NET WebSockets Engine

CVE-2026-62901 is a high-severity Denial of Service (DoS) vulnerability in the Microsoft .NET ecosystem, specifically affecting the System.Net.WebSockets frame-processing engine and associated network transports. Under certain circumstances, a remote, unauthenticated attacker can exploit this vulnerability by sending malformed or specifically crafted WebSocket packets over the network, causing a targeted .NET application server to enter a tight infinite loop. This behavior results in 100% CPU utilization on the executing thread, starving application resources and leading to a complete Denial of Service.

Alon Barad
Alon Barad
3 views•6 min read
•about 3 hours ago•CVE-2026-62909
7.8

CVE-2026-62909: .NET Local Elevation of Privilege via Unchecked Diagnostic Socket Permissions

A high-severity Local Elevation of Privilege (EoP) vulnerability exists in the Microsoft .NET runtime and Visual Studio on Unix-like platforms. The flaw arises from an unchecked return value (CWE-252) during the initialization of the Diagnostics Inter-Process Communication (IPC) socket. By exploiting this vulnerability, a low-privileged local attacker can execute arbitrary commands with the privileges of a higher-privileged .NET process.

Alon Barad
Alon Barad
3 views•6 min read
•about 4 hours ago•CVE-2026-70354
7.8

CVE-2026-70354: Out-of-Bounds Write in .NET Windows Presentation Foundation Subsystem

CVE-2026-70354 is a high-severity local code execution vulnerability affecting multiple versions of the Microsoft .NET runtime, .NET Framework, and Microsoft Visual Studio. The vulnerability is located within the Windows Presentation Foundation (WPF) layout and rendering subsystems, specifically within the parsing and rasterization of complex graphical layouts, XPS files, or custom font structures.

Alon Barad
Alon Barad
6 views•7 min read
•about 5 hours ago•CVE-2026-62897
7.0

CVE-2026-62897: Integer Overflow and Code Execution in .NET WPF and WinForms

An integer overflow vulnerability (CWE-190) exists in the layout and rendering engines of the Microsoft .NET Framework and .NET Core. This flaw resides within the processing of complex coordinate maps, font tables, and image metadata in Windows Presentation Foundation (WPF) and Windows Forms (WinForms). By convincing a user to open a crafted vector graphic or layout document, a local attacker can exploit this arithmetic error to induce an undersized memory allocation, leading to a heap-based buffer overflow and subsequent arbitrary code execution within the context of the vulnerable application.

Alon Barad
Alon Barad
7 views•6 min read
•about 6 hours ago•CVE-2026-62871
7.8

CVE-2026-62871: Local Code Execution and Elevation of Privilege in .NET and Visual Studio

CVE-2026-62871 is a high-severity local code execution and elevation of privilege vulnerability in Microsoft .NET and Microsoft Visual Studio. It arises from an out-of-bounds write (heap-based buffer overflow) in the runtime environment during native interoperability or unmanaged pointer manipulation, requiring user interaction to execute arbitrary instructions.

Amit Schendel
Amit Schendel
8 views•7 min read