Description
OpenClaw is a personal AI assistant. Prior to OpenClaw version 2026.2.14, the Gateway tool accepted a tool-supplied `gatewayUrl` without sufficient restrictions, which could cause the OpenClaw host to attempt outbound WebSocket connections to user-specified targets. This requires the ability to invoke tools that accept `gatewayUrl` overrides (directly or indirectly). In typical setups this is limited to authenticated operators, trusted automation, or environments where tool calls are exposed to non-operators. In other words, this is not a drive-by issue for arbitrary internet users unless a deployment explicitly allows untrusted users to trigger these tool calls. Some tool call paths allowed `gatewayUrl` overrides to flow into the Gateway WebSocket client without validation or allowlisting. This meant the host could be instructed to attempt connections to non-gateway endpoints (for example, localhost services, private network addresses, or cloud metadata IPs). In the common case, this results in an outbound connection attempt from the OpenClaw host (and corresponding errors/timeouts). In environments where the tool caller can observe the results, this can also be used for limited network reachability probing. If the target speaks WebSocket and is reachable, further interaction may be possible. Starting in version 2026.2.14, tool-supplied `gatewayUrl` overrides are restricted to loopback (on the configured gateway port) or the configured `gateway.remote.url`. Disallowed protocols, credentials, query/hash, and non-root paths are rejected.
Published: 2026-02-19
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Unrestricted outbound WebSocket connections
Action: Patch
AI Analysis

Impact

The Gateway tool in OpenClaw accepted a supplied gatewayUrl without adequate filtering, allowing a tool caller to direct the host to initiate WebSocket connections to arbitrary endpoints. The vulnerability is an instance of outbound network connection discovery (CWE‑918) and can be used for limited reachability probing or, if the target speaks WebSocket, for further interaction with the host. This is not a drive‑by issue; it requires that an attacker be able to invoke a tool that accepts a gatewayUrl override, which in typical deployments is restricted to authenticated operators, trusted automation, or environments that expose tool calls to non‑operators.

Affected Systems

OpenClaw products prior to version 2026.2.14 are affected. Versions 2026.2.14 and later contain a fix that restricts gatewayUrl overrides to loopback or the configured gateway.remote.url and rejects disallowed protocols or non‑root paths.

Risk and Exploitability

The vulnerability has a CVSS score of 7.6 and an EPSS score of less than 1%, and it is not listed in the CISA KEV catalog. Exploitation requires the attacker to trigger a tool call that accepts a gatewayUrl override, so the real‑world risk is limited to deployments that expose such calls to untrusted users. In environments where the attacker can observe responses, the vulnerability can be leveraged for network reconnaissance or, on reachable WebSocket targets, for additional malicious interaction.

Generated by OpenCVE AI on April 17, 2026 at 17:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest OpenClaw release (2026.2.14 or newer) to enforce gatewayUrl restrictions.
  • Limit exposure of tool calls that accept gatewayUrl overrides so that only authenticated operators or trusted automation can trigger them.
  • Implement outbound firewall rules or network segmentation to block unauthorized WebSocket connections from the OpenClaw host.

Generated by OpenCVE AI on April 17, 2026 at 17:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g6q9-8fvw-f7rf OpenClaw Gateway tool allowed unrestricted gatewayUrl override
History

Fri, 20 Feb 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*

Fri, 20 Feb 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 20 Feb 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Openclaw
Openclaw openclaw
Vendors & Products Openclaw
Openclaw openclaw

Thu, 19 Feb 2026 23:00:00 +0000

Type Values Removed Values Added
Description OpenClaw is a personal AI assistant. Prior to OpenClaw version 2026.2.14, the Gateway tool accepted a tool-supplied `gatewayUrl` without sufficient restrictions, which could cause the OpenClaw host to attempt outbound WebSocket connections to user-specified targets. This requires the ability to invoke tools that accept `gatewayUrl` overrides (directly or indirectly). In typical setups this is limited to authenticated operators, trusted automation, or environments where tool calls are exposed to non-operators. In other words, this is not a drive-by issue for arbitrary internet users unless a deployment explicitly allows untrusted users to trigger these tool calls. Some tool call paths allowed `gatewayUrl` overrides to flow into the Gateway WebSocket client without validation or allowlisting. This meant the host could be instructed to attempt connections to non-gateway endpoints (for example, localhost services, private network addresses, or cloud metadata IPs). In the common case, this results in an outbound connection attempt from the OpenClaw host (and corresponding errors/timeouts). In environments where the tool caller can observe the results, this can also be used for limited network reachability probing. If the target speaks WebSocket and is reachable, further interaction may be possible. Starting in version 2026.2.14, tool-supplied `gatewayUrl` overrides are restricted to loopback (on the configured gateway port) or the configured `gateway.remote.url`. Disallowed protocols, credentials, query/hash, and non-root paths are rejected.
Title OpenClaw Gateway tool allowed unrestricted gatewayUrl override
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-20T15:40:40.039Z

Reserved: 2026-02-13T16:27:51.808Z

Link: CVE-2026-26322

cve-icon Vulnrichment

Updated: 2026-02-20T15:27:27.194Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-19T23:16:25.340

Modified: 2026-02-20T19:12:17.440

Link: CVE-2026-26322

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T18:00:12Z

Weaknesses