GHSA-V3J7-34XH-6G3W
Vulnerability from github – Published: 2026-03-03 21:50 – Updated: 2026-03-18 21:52Summary
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.21-2 - Patched: >= 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.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 2026.2.21-2"
},
"package": {
"ecosystem": "npm",
"name": "openclaw"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2026.2.22"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-22174"
],
"database_specific": {
"cwe_ids": [
"CWE-290",
"CWE-306"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-03T21:50:34Z",
"nvd_published_at": "2026-03-18T02:16:21Z",
"severity": "MODERATE"
},
"details": "### Summary\nA local process can capture the OpenClaw Gateway auth token from Chrome CDP probe traffic on loopback.\n\n### Details\nAffected versions inject `x-openclaw-relay-token` for loopback CDP URLs, and CDP reachability probes send that header to `/json/version`.\nIf an attacker controls the probed loopback port, they can read that token and reuse it as Gateway bearer auth.\n\nRelevant code paths (pre-fix):\n- `src/browser/extension-relay.ts` (`getChromeExtensionRelayAuthHeaders`)\n- `src/browser/cdp.helpers.ts` (`getHeadersWithAuth`)\n- `src/browser/chrome.ts` (`fetchChromeVersion`)\n\n### Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Latest published (at triage): `2026.2.21-2`\n- Vulnerable: `\u003c= 2026.2.21-2`\n- Patched: \u003e= 2026.2.22\n\n### Deployment Model Applicability\nThis does **not** change OpenClaw\u2019s documented security model for standard single-owner installs (you own the machine/VPS and trust local processes under that OS account boundary).\nRisk is for **non-standard shared-user/shared-host installs** where an untrusted local user/process can race/bind the loopback relay port.\n\n### Impact\n- Local credential disclosure.\n- Follow-on impact depends on local deployment and enabled Gateway capabilities.\n\n### Fix Commit(s)\n- `afa22acc4a09fdf32be8a167ae216bee85c30dad`\n\n### Release Process Note\nPatched version is set to \u003e= 2026.2.22 for the published release.\n\nOpenClaw thanks @tdjackey for reporting.",
"id": "GHSA-v3j7-34xh-6g3w",
"modified": "2026-03-18T21:52:16Z",
"published": "2026-03-03T21:50:34Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-v3j7-34xh-6g3w"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22174"
},
{
"type": "WEB",
"url": "https://github.com/openclaw/openclaw/commit/afa22acc4a09fdf32be8a167ae216bee85c30dad"
},
{
"type": "PACKAGE",
"url": "https://github.com/openclaw/openclaw"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/openclaw-gateway-token-disclosure-via-chrome-cdp-probe"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "OpenClaw Loopback CDP probe can leak Gateway token to local listener"
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.