CVE-2026-25253: Clawdbot Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-g8p2-7wf7-98mq
CVSS 8.8
CWE-668
Published
Advisory Summary

CVE-2026-25253 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Clawdbot libraries in the npm ecosystem. The issue involves openclaw/clawdbot has 1-click rce via authentication token exfiltration from gatewayurl. Remediation is available by upgrading affected packages to version 2026.1.29.

CVE-2026-25253 at a Glance

CVE Identifier CVE-2026-25253
GHSA Identifier GHSA-g8p2-7wf7-98mq
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-668: Exposure of Resource to Wrong Sphere
Affected Product Clawdbot
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-25253

To remediate this vulnerability, upgrade all affected Clawdbot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

clawdbot fixed: 2026.1.29
npm install clawdbot@2026.1.29
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls clawdbot

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-25253, inspect your project dependencies using npm:

npm ls clawdbot

Analyze the terminal output to locate any version of Clawdbot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.1.29), your application is affected.

Note: The npm ls clawdbot command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Clawdbot, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary The Control UI trusts `gatewayUrl` from the query string without validation and auto-connects on load, sending the stored gateway token in the WebSocket connect payload. Clicking a crafted link or visiting a malicious site can send the token to an attacker-controlled server. The attacker can then connect to the victim's local gateway, modify config (sandbox, tool policies), and invoke privileged actions, achieving 1-click RCE. This vulnerability is exploitable even on instances configured to listen on loopback only, since the victim's browser initiates the outbound connection. ## Details The root cause is the lack of validation for `gatewayUrl` combined with auto‑connect behavior on page load. With the change users now need to confirm the new gateway URL in the UI. ## Impact This is a token exfiltration vulnerability that leads to full gateway compromise. It impacts any Moltbot deployment where a user has authenticated to the Control UI. The attacker gains operator-level access to the gateway API, enabling arbitrary config changes and code execution on the gateway host. The attack works even when the gateway binds to loopback because the victim's browser acts as the bridge.

CVE-2026-25253 Affected Clawdbot Versions

1 component(s)
Fixed Versions:
2026.1.29
Product / Package Ecosystem Affected Versions Fixed Version
clawdbot
npm
< 2026.1.29
2026.1.29

References

Frequently Asked Questions

What is CVE-2026-25253?
CVE-2026-25253 is a security vulnerability in Clawdbot involving OpenClaw/Clawdbot has 1-Click RCE via Authentication Token Exfiltration From gatewayUrl under CWE-668: Exposure of Resource to Wrong Sphere.
Which Clawdbot versions are affected?
Affected versions include releases prior to 2026.1.29 across affected packages: clawdbot.
What version fixes CVE-2026-25253?
Upgrading to 2026.1.29 (or the latest patched release for your respective branch) resolves the vulnerability.
Is clawdbot affected?
Yes, clawdbot is affected in releases prior to 2026.1.29. Upgrade your dependency to 2026.1.29 or later.
What is the CVSS score of CVE-2026-25253?
CVE-2026-25253 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-25253?
CVE-2026-25253 is classified under CWE-668: Exposure of Resource to Wrong Sphere (The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.).
How can I check npm dependencies for CVE-2026-25253?
Run the dependency tree command: 'npm ls clawdbot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g8p2-7wf7-98mq",
  "modified" : "2026-02-02T23:41:05Z",
  "published" : "2026-02-02T23:41:05Z",
  "aliases" : [ "CVE-2026-25253" ],
  "summary" : "OpenClaw/Clawdbot has 1-Click RCE via Authentication Token Exfiltration From gatewayUrl",
  "details" : "## Summary\n\nThe Control UI trusts `gatewayUrl` from the query string without validation and auto-connects on load, sending the stored gateway token in the WebSocket connect payload.\n\nClicking a crafted link or visiting a malicious site can send the token to an attacker-controlled server. The attacker can then connect to the victim's local gateway, modify config (sandbox, tool policies), and invoke privileged actions, achieving 1-click RCE. This vulnerability is exploitable even on instances configured to listen on loopback only, since the victim's browser initiates the outbound connection.\n\n## Details\n\nThe root cause is the lack of validation for `gatewayUrl` combined with auto‑connect behavior on page load. With the change users now need to confirm the new gateway URL in the UI.\n\n## Impact\n\nThis is a token exfiltration vulnerability that leads to full gateway compromise. It impacts any Moltbot deployment where a user has authenticated to the Control UI. The attacker gains operator-level access to the gateway API, enabling arbitrary config changes and code execution on the gateway host. The attack works even when the gateway binds to loopback because the victim's browser acts as the bridge.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "clawdbot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2026.1.29"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2026.1.28"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-g8p2-7wf7-98mq"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25253"
  }, {
    "type" : "WEB",
    "url" : "https://depthfirst.com/post/1-click-rce-to-steal-your-moltbot-data-and-keys"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openclaw/openclaw"
  }, {
    "type" : "WEB",
    "url" : "https://openclaw.ai/blog"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-668" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-02T23:41:05Z",
    "nvd_published_at" : null
  }
}