CVE-2026-25253: Clawdbot Remote Code Execution Vulnerability
HIGHCVE-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
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).
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.
npm install clawdbot@2026.1.29
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
CVE-2026-25253 Affected Clawdbot Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
clawdbot
|
npm |
< 2026.1.29
|
2026.1.29
|
References
Frequently Asked Questions
What is CVE-2026-25253?
Which Clawdbot versions are affected?
What version fixes CVE-2026-25253?
Is clawdbot affected?
What is the CVSS score of CVE-2026-25253?
What CWE is associated with CVE-2026-25253?
How can I check npm dependencies for CVE-2026-25253?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}