GitHub Advisoryadvisory · npm

GHSA-v3j7-34xh-6g3w OpenClaw Loopback CDP probe can leak Gateway token to local listener

MEDIUM Published 2026-03-03 Modified 2026-03-18 Official page ↗
Aliases
CVE-2026-22174
Ecosystem
npm
Packages
openclaw
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Weaknesses
CWE-290, CWE-306
Reviewed
2026-03-03

Affected packages

• npm openclaw: < 2026.2.22 → fixed in 2026.2.22

Description

Summary A local process can capture the OpenClaw Gateway auth token from Chrome CDP probe traffic on loopback. Details Affected versions inject `x-openclaw-relay-token` for loopback CDP URLs, and CDP reachability probes send that header to `/json/version`. If an attacker controls the probed loopback port, they can read that token and reuse it as Gateway bearer auth. Relevant code paths (pre-fix): • `src/browser/extension-relay.ts` (`getChromeExtensionRelayAuthHeaders`) • `src/browser/cdp.helpers.ts` (`getHeadersWithAuth`) • `src/browser/chrome.ts` (`fetchChromeVersion`) Affected Packages / Versions • Package: `openclaw` (npm) • Latest published (at triage): `2026.2.21-2` • Vulnerable: `= 2026.2.22 Deployment Model Applicability This does not change OpenClaw’s documented security model for standard single-owner installs (you own the machine/VPS and trust local processes under that OS account boundary). Risk is for non-standard shared-user/shared-host installs where an untrusted local user/process can race/bind the loopback relay port. Impact • Local credential disclosure. • Follow-on impact depends on local deployment and enabled Gateway capabilities. Fix Commit(s) • `afa22acc4a09fdf32be8a167ae216bee85c30dad` Release Process Note Patched version is set to >= 2026.2.22 for the published release. OpenClaw thanks @tdjackey for reporting.

Related

Alias · CVE (1)

  • CVE-2026-22174 OpenClaw versions prior to 2026.2.22 inject the x-OpenClaw-relay-token header into Chrome CDP probe traffic on loopback interfaces,… vulnerability

Weakness · CWE (2)

  • CWE-290 Authentication Bypass by Spoofing weakness
  • CWE-306 Missing Authentication for Critical Functionality weakness

References