NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-rchv-x836-w7xp: OpenClaw's dashboard leaked gateway auth material via browser URL/query and localStorage

highCVSS 3.1 7.1

OpenClaw's macOS Dashboard flow put the shared Gateway token and password into the browser URL query string, and the Control UI then saved the token in localStorage. Anyone who can read the browser's URL history or script-readable storage can recover a Gateway admin token. openclaw 2026.3.2 and earlier are affected; 2026.3.7 fixes it.

Published Mar 9, 2026 · Analysis Oct 31, 2026

What an attacker can do

When a user chose Open Dashboard in the macOS app, the app built a URL that carried the Gateway token and password as query parameters. The browser received that URL, so the credentials landed in the address bar and wherever URLs are recorded, such as history and sync. The Control UI then imported the token and wrote it to localStorage under openclaw.control.settings.v1, where any script running on that origin can read it and where it persists.

The advisory describes an attacker with access to browser-controlled surfaces or persistent browser storage who recovers a valid Gateway admin token and reuses it against the OpenClaw management interface. The CVSS vector is local with user interaction. A Gateway admin token is reusable and powerful, so the practical risk is takeover of the management interface by whoever obtains it, including another local user, a browser extension or a synced history on another device.

Who is affected

The openclaw npm package up to and including 2026.3.2, in the macOS app Dashboard flow and the Control UI it opens. The advisory verified 2026.3.2 as the latest vulnerable release.

npm ls -g openclaw
openclaw --version

If you used Open Dashboard from the macOS app on an affected version, your browser may still hold the token in localStorage and in history.

openclaw

Ecosystem
npm
Affected
<= 2026.3.2
Fixed in
2026.3.7
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.7 or later (published March 8, 2026).

npm install -g [email protected]

The fix (commit 10d0e3f) sends the token in the URL fragment instead of the query string, stops putting the shared password into browser URLs, keeps the token in memory for the current tab only, and removes legacy tokens from openclaw.control.settings.v1 when the UI loads. The advisory names no workaround. Because the old token may have been exposed, rotate the Gateway token and password after upgrading and clear browser history entries that contain them.

How to tell if you were hit

Search browser history and synced history for dashboard URLs containing token= or password= query parameters. In browser developer tools, check localStorage for the key openclaw.control.settings.v1 and a stored token. Review Gateway logs for admin sessions from addresses or devices you do not recognize. Rotate credentials if you find any of these.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

OpenClaw's macOS Dashboard flow exposed Gateway authentication material to browser-controlled surfaces.

Before the fix, the macOS app appended the shared Gateway token and password to the Dashboard URL query string when opening the Control UI in the browser. The Control UI then imported the token and persisted it into browser localStorage under openclaw.control.settings.v1.

This expanded exposure of reusable Gateway admin credentials into browser address-bar/query surfaces and persistent script-readable storage.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published version verified vulnerable: 2026.3.2
  • Affected range: <= 2026.3.2
  • Patched version: >= 2026.3.7

Impact

An attacker with access to browser-controlled surfaces or persistent browser storage could recover a valid Gateway admin token and reuse it against the OpenClaw management interface.

The exposure chain was:

  1. macOS Open Dashboard constructed a URL with auth material.
  2. The browser received that credential-bearing URL.
  3. The Control UI imported the token from the URL.
  4. The Control UI persisted the token in localStorage.

Fix

The fix aligns the macOS Dashboard flow with the safer existing CLI/bootstrap pattern and removes persistent browser token storage:

  • macOS Dashboard now passes the Gateway token via URL fragment instead of query parameters.
  • macOS Dashboard no longer propagates the shared Gateway password into browser URLs.
  • Control UI keeps Gateway tokens in memory only for the current tab.
  • Control UI scrubs legacy persisted tokens from openclaw.control.settings.v1 on load.
  • Regression tests cover fragment transport, password omission, and token-scrubbing behavior.

Fix Commit(s)

  • 10d0e3f3ca92326df0ca071fabffe463742f263c (March 7, 2026)

Release Process Note

npm 2026.3.7 was published on March 8, 2026. This advisory is fixed in the released package.

Thanks @whiter6666 for reporting.

Credited to whiter6666.

Questions

Is there a CVE for this OpenClaw dashboard leak?

No CVE id is listed in the advisory data. It is tracked as GHSA-rchv-x836-w7xp.

Do I need to rotate the Gateway token after upgrading?

It is prudent. The fix scrubs stored tokens on load, but the old token and password may already be in browser history or synced elsewhere.

Which version fixes it?

openclaw 2026.3.7. Versions up to 2026.3.2 are affected.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries