# GHSA-pfv7-rr5m-qmv6: OpenClaw has auth inconsistency on local Browser Extension Relay /extension endpoint

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-03T21:42:27.000Z
- Modified: 2026-03-04T15:16:36.295Z
- Weaknesses: CWE-306

## Description

### Summary

When the optional Chrome extension relay is enabled, `/extension` accepted unauthenticated WebSocket upgrades while `/json/*` and `/cdp` required auth.

### Affected Packages / Versions

- Package: `openclaw` (npm)
- Affected: `<= 2026.2.17`
- Latest published npm version at triage time: `2026.2.17`

### Impact

This is a local-only issue on loopback (`127.0.0.1`) and only applies when the extension relay feature is in use. A local process on the same machine could connect to `/extension` without the token and interfere with extension-relay behavior.

No remote network exploit path is involved.

### Fix

- Require gateway-token auth on both `/extension` and `/cdp` relay WebSocket endpoints.
- Keep loopback/origin checks as defense-in-depth, not as authentication.
- Use one token path in setup: `gateway.auth.token` / `OPENCLAW_GATEWAY_TOKEN`.

### Fix Commit(s)

- `7e54b6c96feb1a5c30884f2b32037b8dadd0e532`

OpenClaw thanks @tdjackey for reporting.

(As written by GitHub Advisory Database.)

## Affected

- openclaw (npm): before 2026.2.19

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-pfv7-rr5m-qmv6> (web)
- <https://github.com/openclaw/openclaw/commit/7e54b6c96feb1a5c30884f2b32037b8dadd0e532> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- GitHub Advisory Database: [GHSA-pfv7-rr5m-qmv6](https://github.com/advisories/GHSA-pfv7-rr5m-qmv6), CC-BY-4.0, modified 2026-03-04

---

Page: https://cve.day/GHSA-pfv7-rr5m-qmv6 · Whole record: https://cve.day/GHSA-pfv7-rr5m-qmv6.json · Rebuilt by cve.day 2026-11-25T22:56:46.126Z
