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

•about 2 hours ago•CVE-2026-54347
8.7

CVE-2026-54347: Stored Cross-Site Scripting in Froxlor DNS TXT Record Configuration

A critical stored Cross-Site Scripting (XSS) vulnerability was identified in Froxlor server administration software panel before version 2.3.8. Authenticated customers with DNS editor privileges can inject malicious JavaScript into DNS TXT records. Because the application processes these values via a raw formatting callback without context-aware HTML entity encoding, the payload executes in the security context of administrative users who view the affected domain's DNS zones.

Amit Schendel
Amit Schendel
2 views•6 min read
•about 3 hours ago•CVE-2026-54348
7.2

CVE-2026-54348: Second-Order SQL Injection in Froxlor API Layer

An authenticated administrator with privileges to manage admin accounts (such as change_serversettings) can execute arbitrary SQL commands via a second-order SQL injection vulnerability. The flaw resides in Froxlor's administrative API endpoints, specifically during the handling of IP address mapping parameters which are stored as serialized arrays and later interpolated without sanitization into active database queries. This vulnerability allows high-privileged administrative attackers to compromise the database. By injecting a payload into administrative profile metadata, an attacker can extract sensitive credentials, manipulate backend settings, or potentially disrupt database integrity. The vulnerability affects all versions of Froxlor prior to 2.3.8.

Amit Schendel
Amit Schendel
2 views•6 min read
•about 4 hours ago•CVE-2026-54543
5.4

CVE-2026-54543: DNS Resource Record (RR) Injection in Froxlor DomainZones API

CVE-2026-54543 is a DNS Resource Record (RR) Injection vulnerability in Froxlor, an open-source server administration control panel. Prior to version 2.3.8, the DomainZones.add API command failed to perform strict sanitization and validation on the user-controlled record (label) and type parameters before serializing them into BIND-compatible zone files. An authenticated customer with DNS zone management permissions can inject control characters, breaking out of the original record context to define unauthorized resource records within managed zones.

Amit Schendel
Amit Schendel
3 views•7 min read
•about 4 hours ago•CVE-2026-42533
9.2

CVE-2026-42533: NGINX Map Directive and Regex Matching Pre-Auth Heap Buffer Overflow & Info Leak

CVE-2026-42533 is a critical security vulnerability discovered in NGINX Open Source, NGINX Plus, NGINX Ingress Controller, and related products, referred to as the 'Two-Pass Capture-Clobbering' bug. The flaw is situated within NGINX's internal evaluation engine when handling complex variables, exposing a heap-based buffer overflow and information leak when a configuration chains regular expression-based map directives with numbered capture groups. An unauthenticated remote attacker can exploit this weakness by transmitting crafted HTTP requests to trigger remote code execution or defeat ASLR.

Alon Barad
Alon Barad
7 views•7 min read
•about 5 hours ago•CVE-2026-55593
6.5

CVE-2026-55593: Persistent Administrative Hijacking via Cross-Site Request Forgery in Froxlor Ajax Router

Froxlor prior to version 2.3.8 contains a high-severity architectural flaw where the standalone lib/ajax.php entry point bypasses the centralized request validation in lib/init.php. Unauthenticated remote attackers can leverage Cross-Site Request Forgery (CSRF) to induce authenticated administrators to submit forged requests that modify API key whitelists and expiration dates, potentially yielding persistent, out-of-band administrative control.

Amit Schendel
Amit Schendel
4 views•8 min read
•about 6 hours ago•CVE-2026-62988
9.0

CVE-2026-62988: Multi-Factor Authentication and Credential Bypass in Froxlor API

An insecure data retrieval flaw in the Froxlor server administration panel API allows authenticated remote attackers to retrieve unredacted bcrypt password hashes and Base32-encoded Time-Based One-Time Password (TOTP) seeds. Affected endpoints include several 'get' and 'listing' handlers for customers, administrators, and FTP accounts. Utilizing these leaked parameters, attackers can crack the password hashes offline and concurrently generate valid second-factor authentication codes to completely bypass access controls.

Amit Schendel
Amit Schendel
8 views•6 min read