Vulnerabilities in pkg:npm/moltbot

PACKAGE
Advisory Identifier: GHSA-mr32-vwc2-5j6h
Advisory Summary

CVE-2026-28458 is a HIGH (CVSS 7.5) openclaw's browser relay /cdp websocket vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Openclaw libraries in the npm ecosystem. The issue involves openclaw's browser relay /cdp websocket is missing auth which could allow cross-tab cookie access. Remediation is available by upgrading affected packages to version 2026.2.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/moltbot

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/moltbot. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-mr32-vwc2-5j6h CVE-2026-28458 HIGH OpenClaw's Browser Relay /cdp websocket is missing auth which could allow cross-tab cookie access

CVE-2026-28458 at a Glance

CVE Identifier CVE-2026-28458
GHSA Identifier GHSA-mr32-vwc2-5j6h
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Openclaw
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

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:N/S:U/C:H/I:N/A:N).

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

How to Fix CVE-2026-28458

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

openclaw fixed: 2026.2.1
npm install openclaw@2026.2.1
moltbot fixed: Latest secure release
npm install moltbot@Latest secure release
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 openclaw

How to Check if You Are Affected

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

npm ls openclaw

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

Note: The npm ls openclaw 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Openclaw, 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 In affected versions, the Browser Relay `/cdp` WebSocket endpoint did not require an authentication token. As a result, a website running in the browser could potentially connect to the local relay (via loopback WebSocket) and use CDP to access cookies from other open tabs and run JavaScript in the context of other tabs. ### Affected Packages / Versions - npm: `openclaw` `>= 2026.1.20, < 2026.2.1` - npm: `moltbot` `<= 0.1.0` ### Details The Chrome extension Browser Relay service exposes a local WebSocket endpoint at `ws://127.0.0.1:18792/cdp` (default port) for forwarding Chrome DevTools Protocol (CDP) messages. In affected versions, the `/cdp` upgrade path verified the TCP peer was loopback but did not require a shared secret and did not block browser-initiated cross-origin requests. ### Impact - Potential disclosure of sensitive information (for example, session cookies from other open tabs) - Potential JavaScript execution in the context of other open tabs Users must have the Browser Relay extension installed and active, and must visit an untrusted site. ### Fix `openclaw` now requires a per-instance shared secret header for Browser Relay access: - HTTP header: `x-openclaw-relay-token` It also rejects `/cdp` WebSocket upgrades when the Origin header is present but is not `chrome-extension://...`, and refuses `/cdp` connections unless the extension is connected. ### Fix Commit(s) - `a1e89afcc19efd641c02b24d66d689f181ae2b5c` ### Releases - `openclaw@2026.2.1` includes the fix. - Latest published `openclaw` at time of writing: `2026.2.13`. ### Mitigation - Update to `openclaw@>= 2026.2.1`. - If you cannot update immediately, disable the Browser Relay extension / relay server and avoid visiting untrusted sites. Thanks @johnatzeropath, @LeftenantZero, and @yueyueL for reporting.

CVE-2026-28458 Affected Openclaw Versions

2 component(s)
Fixed Versions:
2026.2.1
Product / Package Ecosystem Affected Versions Fixed Version
openclaw
npm
≥ 2026.1.20
< 2026.2.1
2026.2.1
moltbot
npm
≤ 0.1.0

References

Frequently Asked Questions

What is CVE-2026-28458?
CVE-2026-28458 is a security vulnerability in Openclaw involving OpenClaw's Browser Relay /cdp websocket is missing auth which could allow cross-tab cookie access under CWE-306: Missing Authentication for Critical Function.
Which Openclaw versions are affected?
Affected versions include releases prior to 2026.2.1 across affected packages: openclaw, moltbot.
What version fixes CVE-2026-28458?
Upgrading to 2026.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openclaw affected?
Yes, openclaw is affected in releases prior to 2026.2.1. Upgrade your dependency to 2026.2.1 or later.
Is moltbot affected?
Yes, moltbot is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-28458?
CVE-2026-28458 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-28458?
CVE-2026-28458 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check npm dependencies for CVE-2026-28458?
Run the dependency tree command: 'npm ls openclaw'. 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-mr32-vwc2-5j6h",
  "modified" : "2026-03-06T01:02:27Z",
  "published" : "2026-02-17T16:45:47Z",
  "aliases" : [ "CVE-2026-28458" ],
  "summary" : "OpenClaw's Browser Relay /cdp websocket is missing auth which could allow cross-tab cookie access",
  "details" : "### Summary\nIn affected versions, the Browser Relay `/cdp` WebSocket endpoint did not require an authentication token. As a result, a website running in the browser could potentially connect to the local relay (via loopback WebSocket) and use CDP to access cookies from other open tabs and run JavaScript in the context of other tabs.\n\n### Affected Packages / Versions\n- npm: `openclaw` `>= 2026.1.20, < 2026.2.1`\n- npm: `moltbot` `<= 0.1.0`\n\n### Details\nThe Chrome extension Browser Relay service exposes a local WebSocket endpoint at `ws://127.0.0.1:18792/cdp` (default port) for forwarding Chrome DevTools Protocol (CDP) messages.\n\nIn affected versions, the `/cdp` upgrade path verified the TCP peer was loopback but did not require a shared secret and did not block browser-initiated cross-origin requests.\n\n### Impact\n- Potential disclosure of sensitive information (for example, session cookies from other open tabs)\n- Potential JavaScript execution in the context of other open tabs\n\nUsers must have the Browser Relay extension installed and active, and must visit an untrusted site.\n\n### Fix\n`openclaw` now requires a per-instance shared secret header for Browser Relay access:\n- HTTP header: `x-openclaw-relay-token`\n\nIt also rejects `/cdp` WebSocket upgrades when the Origin header is present but is not `chrome-extension://...`, and refuses `/cdp` connections unless the extension is connected.\n\n### Fix Commit(s)\n- `a1e89afcc19efd641c02b24d66d689f181ae2b5c`\n\n### Releases\n- `openclaw@2026.2.1` includes the fix.\n- Latest published `openclaw` at time of writing: `2026.2.13`.\n\n### Mitigation\n- Update to `openclaw@>= 2026.2.1`.\n- If you cannot update immediately, disable the Browser Relay extension / relay server and avoid visiting untrusted sites.\n\nThanks @johnatzeropath, @LeftenantZero, and @yueyueL for reporting.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "openclaw"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2026.1.20"
      }, {
        "fixed" : "2026.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "moltbot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-mr32-vwc2-5j6h"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28458"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/commit/a1e89afcc19efd641c02b24d66d689f181ae2b5c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openclaw/openclaw"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openclaw/openclaw/releases/tag/v2026.2.1"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/openclaw-missing-authentication-in-browser-relay-cdp-websocket-endpoint"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-17T16:45:47Z",
    "nvd_published_at" : "2026-03-05T22:16:18Z"
  }
}