shellbits

Field NotesMarch 2026

SBR-2026-02Vulnerability research 20 min

Localhost is not a boundary: a browser tab is also a local client of your agent gateway

In January and February 2026, four OpenClaw advisories described one path. A public web page, running in the user's own browser, reached a gateway and helper services bound to loopback. We reconstruct each finding from the advisories, patches and researchers' write-ups, trace the class back to 2007, and give a test table for eight trust assumptions plus a review checklist.

AgentsVulnerability researchAuthorization
In this piece
  1. 01What the gateway trusted: four advisories, one by one
  2. 02Lineage: 2007 to 2025
  3. 03A different failure: instances exposed to the internet
  4. 04Model: eight trust assumptions of a local control plane
  5. 05Checklists: for those who run and those who build local control planes
  6. 06Method and limits

On 26 January 2026 Ethiack reported a flaw to the maintainers of OpenClaw: a user visits a web page, and the attacker can run commands on the machine that hosts the agent, even when the gateway listens only locally1. OpenClaw is a self-hosted personal AI agent, first called Clawdbot and renamed in January 2026 to Moltbot and then OpenClaw2. It connects to messaging apps, calendars and developer tools and acts on the user's behalf3. The advisory states the cause: binding to loopback does not help, because the victim's own browser makes the connection4. A month later Oasis Security published a second route: script on a web page guesses the gateway password, then registers itself as a trusted device3.

OpenClaw's documentation says that gateway.bind: "loopback" is the default and that with it "only local clients can connect"5. At the network layer that is true. The question is who counts as a local client: the command-line tool, the desktop app, and script from any website in any tab of the user's browser.

Our claim: binding a control interface to loopback (127.0.0.1 and ::1) settles which interface a packet arrives on. It does not settle who sent it. Once a browser on the same machine can open a WebSocket or send a request to that interface, loopback is not an authentication boundary. Personal agents still put a control plane that runs commands, reads messages and holds credentials behind that assumption. The claim can be refuted: if mainstream browsers blocked every request from a public page to loopback by default, WebSocket included, with no one-click prompt, we would have to rewrite it. At our dateline, 10 March 2026, the browser documentation we read does not say that.

01What the gateway trusted: four advisories, one by one#

As Oasis describes it, the core of OpenClaw is the gateway: a local WebSocket server that handles authentication, sessions, configuration and orchestration of the agent. Other devices register as nodes and expose capabilities such as running system commands. Clients authenticate with a token or a password3. By default the gateway listens locally on TCP 18789, and the browser-based Control UI talks to it2. New devices go through pairing, which the documentation says is approved automatically for local connections from loopback5.

  1. Ethiack reports the gatewayUrl flaw at 18:02 UTC1

    Report
  2. Fix commit for the Control UI9

    Fix
  3. openclaw@2026.1.29 reaches npm at 04:49 UTC11

    Release
  4. Advisory GHSA-g8p2-7wf7-98mq published4

    Advisory
  5. depthfirst publishes its write-up19; CVE-2026-25253 published20

    Disclosure
  6. 2026.2.1 reaches npm11 with the Browser Relay fix6

    Fix
  7. 2026.2.2 reaches npm11; an origin check first appears in the handshake code10

    Fix
  8. 2026.2.14 reaches npm11 with the browser-control fix7

    Fix
  9. Fix commit at 00:22 UTC21, advisory at 03:588, 2026.2.25 on npm at 04:1611; Oasis publishes ClawJacked the same day3

    Fix
  10. 2026.3.7 reaches npm11 with the Dashboard token fix22

    Fix

Each cell below is the advisory's own account. The labels W1 to W4 are ours.

LabelAdvisoryAffected → fixedWhat the component trustedWhat a web page could doWhat the fix changed
W1GHSA-g8p2-7wf7-98mq; CVE-2026-25253, CVSS 3.1 score 8.8420<= 2026.1.28 → 2026.1.29The Control UI trusted gatewayUrl from the query string, connected on load, and sent the stored gateway token in the connect messageWith the token, connect to the victim's local gateway, change configuration (sandbox, tool policy), invoke privileged actionsThe user must confirm a new gateway URL
W2GHSA-mr32-vwc2-5j6h; CVE-2026-28458623>= 2026.1.20, < 2026.2.1 → 2026.2.1The Browser Relay /cdp WebSocket (default ws://127.0.0.1:18792/cdp) checked only that the TCP peer was loopback: no shared secret, no block on cross-origin browser requestsWith the extension installed and active: read cookies from other tabs, run JavaScript in other tabsA per-instance secret header; upgrades rejected when Origin is present and is not chrome-extension://
W3GHSA-3fqr-4cg8-h96q; CVE-2026-263177<= 2026.2.13 → 2026.2.14The browser-control service bound to loopback; its state-changing HTTP routes did not validate Origin or RefererOpen tabs, start or stop the browser, change storage and cookiesPOST, PUT, PATCH and DELETE rejected when Origin or Referer is not loopback, or on Sec-Fetch-Site: cross-site
W4GHSA-jmmg-jqc7-5qf4 (ClawJacked); no CVE id on the advisory page8<= 2026.2.24 → 2026.2.25Origin checks not enforced for some non-Control-UI client ids; loopback exempt from password-failure throttling; silent local pairing open to browser-origin non-Control-UI clientsAfter a correct guess, an authenticated operator session with that role's control-plane methodsOrigin checks for all direct browser WebSocket clients; browser-origin failures always throttled; no silent pairing for non-Control-UI browser clients

W1: the token follows the URL#

Ethiack pointed its own AI penetration-testing agent at a self-hosted instance, found the issue in about 1 hour 40 minutes, reported it on 26 January and published on 29 January1. Mav Levin of depthfirst published on 1 February and notes that another person reported the same bug19.

In the browser, the Control UI accepts gatewayUrl from the URL, stores it and connects at once; the connect message carries the token, which goes to the attacker's server19. At the gateway, both write-ups say the WebSocket server did not validate the Origin header, so script on the attacker's page could connect to the local gateway and authenticate with the stolen token191.

depthfirst adds that the stolen token carried the operator.admin and operator.approvals scopes, and that both the prompt before dangerous commands and the setting that runs commands inside a container could be switched off through the same API19. Our reading: approval prompts and the sandbox were settings on the control plane, not a separate line of defence.

The fix, merged on 28 January, changed five files and 63 lines, all under ui/, and added a confirmation dialog9. In the gateway's handshake handler at tags v2026.1.29 and v2026.2.1 the Origin header is only written to the log; an origin check appears at v2026.2.210. Version 2026.1.29 also removed the gateway auth mode none24; from that tag to v2026.2.13 the auth code knows only token and password modes25. If our reading is right, this implies that after the W1 fix a page from any origin could still start a WebSocket handshake with the local gateway, though it could not log in without the token or the password.

W2 and W3: side services that check only the peer address#

OpenClaw also opens services on loopback so that the agent can drive a browser. The Browser Relay in W2 relays Chrome DevTools Protocol (CDP) messages for a Chrome extension6; W3 concerns the HTTP routes of the browser-control service7. One sentence in the W3 advisory summarises the class:

Loopback binding reduces remote exposure but does not prevent browser-initiated requests from malicious origins7.

The W3 fix depends on headers that browsers send, and the advisory also recommends token or password auth7. A header check stops a browser, not a local program that omits those headers; RFC 6455 notes that non-browser clients can send a fake Origin15.

W4: three local exceptions make one path#

W4 starts from the state that W1 left. The origin check added at v2026.2.2 ran on one condition: the client id or mode in the connect message was the Control UI or Webchat. The connecting side fills in those fields, and the condition was unchanged at v2026.2.2410.

The second exception is throttling. The configuration reference says auth.rateLimit.exemptLoopback defaults to true21. Oasis says failed attempts from localhost were not counted, throttled or logged, and that in its lab it sustained hundreds of password guesses per second from browser JavaScript3. The third exception is pairing: a new device on a local connection was approved with no prompt35.

The documentation gives a reason for one exception: automatic pairing keeps same-host clients smooth5. Together the three form the path that Oasis describes3.

Oasis writes that any website could take full control of a developer's agent, which with typical integrations equals full workstation compromise3. The advisory rates the issue high but stresses its conditions: password auth mode, a user who opens attacker-controlled content, and a password guessable in a feasible number of attempts. It says this is not, by itself, an unauthenticated internet-exposed remote code execution issue8. The documentation says the onboarding wizard generates a token by default5; a user with that random token is outside those conditions. We found no figure for how many users chose a password instead.

The advisory does not discuss mode none, which the 2026.2.19 changelog allows again as an explicit setting for intentionally open loopback setups24. The auth code at that tag accepts that mode with no token or password25; we did not test it.

The fix commit changes each behaviour in one place21. A request with an Origin header and no proxy headers always gets the origin check. Connections with an Origin use a separate limiter that never exempts loopback. Silent pairing remains only for local connections without an Origin, and for the Control UI and Webchat. Connections that carry proxy headers skip the first rule; the advisory says trusted-proxy forwarded flows remain supported8. We did not test that branch.

For the fix, the advisory and Oasis give 2026.2.25, and Oasis says the fix came in under 24 hours3; the changelog entry names 2026.2.25 at that tag and 2026.2.26 from the next tag on24. npm published both on 26 February, at 04:16 and 23:59 UTC11, and the handshake code at tag v2026.2.25 contains the fix10. We use 2026.2.25.

Five stages of the origin check#

The status labels are our assessment of the source and the changelog; we ran no tests.

  1. 01

    2026.1.29 and earlier

    No origin check in the handshake handler; the W1 fix changed only the Control UI109.

    No check
  2. 02

    2026.2.2

    An origin check appears, only for clients that declare themselves as the Control UI or Webchat. It passes if the Origin is on the allowlist, if its host equals the Host header, or if both names are loopback26.

    Keyed on declared fields
  3. 03

    2026.2.23

    The Host-header rule now needs the flag dangerouslyAllowHostHeaderOriginFallback26; the documentation describes that flag as a downgrade of DNS rebinding hardening5.

    Still keyed on declared fields
  4. 04

    2026.2.25

    Every connection with an Origin and no proxy headers is checked; browser-origin failures are throttled; silent pairing is narrowed21.

    Direct path fixed, proxy branch untested
  5. 05

    2026.3.2

    The loopback-origin allowance depends on an actual local socket client, not on what the Host header claims24. The proxy-header exception is still in the handshake code at v2026.3.810.

    Per the changelog; proxy exception remains

Other exits of the same assumption#

Loopback is treated as identity beyond the browser path. In the seven advisories below the caller is a reverse proxy or a local process, or a setting went wrong; what is trusted is the same.

AdvisoryAffected → fixedWhat stood in for identityWho the caller can be
GHSA-g55j-c2v4-pjcg; CVE-2026-2559327< 2026.1.20 → 2026.1.20A local client could write configuration through config.apply without authenticatingA local process
GHSA-xc7w-v5x6-cc8728< 2026.2.12 → 2026.2.12The BlueBubbles webhook treated a loopback peer as authenticatedA remote request forwarded by a reverse proxy
GHSA-qw99-grcx-4pvm29>= 2026.1.14-1, < 2026.2.12 → 2026.2.12The relay server treated the wildcard addresses 0.0.0.0 and :: as loopbackHosts off the machine, when a wildcard was passed
GHSA-qpjj-47vm-64pj30>= 2026.1.5, <= 2026.2.9 → 2026.2.12Browser-control HTTP routes did not enforce auth when none was configuredAdvisory: mainly local processes and local proxies
GHSA-h9g4-589h-68xv31>= 2026.1.29-beta.1, < 2026.2.14 → 2026.2.14The sandbox browser bridge server started without authAny local process
GHSA-pfv7-rr5m-qmv632<= 2026.2.17 → 2026.2.19The relay's /extension endpoint accepted unauthenticated WebSocket upgradesA local process
GHSA-rchv-x836-w7xp22<= 2026.3.2 → 2026.3.7The macOS app put the gateway token and password in the Dashboard URL query string; the Control UI then stored the token in localStorageAnyone who can read the browser URL or persistent storage

One line in the fix notes of GHSA-pfv7 states the rule:

Keep loopback/origin checks as defense-in-depth, not as authentication32.

We read 11 of the repository's advisories, selected by title from its advisory list33.

02Lineage: 2007 to 2025#

Agents did not create this path.

YearCaseState of the local serviceHow a web page reached it
2007DNS rebinding paper by Jackson and others34Resources behind a firewall rely on the browser's same-origin policyAbstract: DNS rebinding subverts the same-origin policy and turns browsers into open network proxies
2019Zoom client, CVE-2019-1345035The macOS client ran a web server on localhost port 19421 or 19424Any website could interact with it and force the user into a call with the camera on
2024Ollama, CVE-2024-2822436The API before 0.1.29DNS rebinding gave remote access to the full API
2024Oligo's 0.0.0.0 Day37Services listening locally on macOS and LinuxA public site used 0.0.0.0 in place of localhost or 127.0.0.1; Oligo says Chromium began to block it from version 128
2025MCP Inspector, CVE-2025-49596, CVSS 4.0 score 9.438Before 0.14.1, no authentication between the Inspector client and its proxyA public site's request made the proxy run commands on the developer's machine; Oligo says DNS rebinding also worked
2025Claude Code IDE extensions, CVE-2025-5288239The extension's WebSocket accepted connections from arbitrary originsConnected when the user visited an attacker-controlled page; fixed in 1.0.24

PortSwigger defines cross-site WebSocket hijacking (CSWSH) as a handshake that relies solely on cookies for session handling and carries no other unpredictable value, so the attacker's page gains two-way interaction40. The OpenClaw gateway used a token or password in the connect message19, so W1 had to steal the token and W4 had to guess the password. We think the loopback address plays the cookie's part for automatic pairing and the throttling exemption: the browser presents nothing, and the connection receives the treatment.

The fixes repeat. MCP Inspector added a default session token and a check of allowed origins38. The Model Context Protocol specification of 2025-11-25 says Streamable HTTP servers must validate Origin to prevent DNS rebinding, should bind only to localhost when run locally, and should authenticate all connections41.

What browsers blocked in March 2026#

Request from a public page to loopbackChromeFirefox
fetch(), subresources, subframe navigationNeeds the user's permission from version 142 (stable on 28 October 2025)1213Version 147 (13 January 2026): restrictions on by default for users with Enhanced Tracking Protection set to Strict, in a progressive rollout42
WebSocketThe guide says these connections are not yet gated and that Chrome plans to add them13; release notes 143 to 145 announce no change14The release notes do not list the request types covered42

The permission is a prompt the user can accept, not a block. Ethiack wrote in January that on stable Chrome 144 its exploit triggered no prompt because the relevant flag was off by default1, which does not match the Chrome 142 release notes12. We ran no test. The scope that Chrome's guide lists does not include the top-level navigation and the WebSocket that W1 uses13, so either explanation gives the same result. We did not check Safari.

RFC 6455 leaves the Origin decision to the server: one that does not validate it accepts connections from anywhere15. At the dateline, therefore, the local service has to make this check itself.

03A different failure: instances exposed to the internet#

Another set of numbers circulated in the same weeks: tens of thousands of OpenClaw instances reachable from the internet. There the attacker connects to an exposed instance directly, with no victim browser; the remedy is to stop binding publicly, add a firewall and require authentication. In W1 to W4 the gateway is not exposed, the path runs through the user's browser, and no internet scan can count such machines. Mixing the two suggests that a return to localhost is enough; the sections above show it is not.

SourceCountUnit and definitionDateMethod
Censys221,639Exposed instances; most still need a token to view and operate31 January 2026A query on HTML titles, for the older names Moltbot and clawdbot only
Bitsight16More than 30,000Distinct instances seen over 13 days, cumulative27 January to 8 February 2026A dedicated probe, scanning the default port 18789/tcp daily
SecurityScorecard, capture from the day of publication1740,214 instances; 28,663 unique IPs; 76 countries; 12,812 flagged as open to remote code execution, stated as 63%Instances counted by favicon match, 23,505 of them showing a control panel9 February 2026Favicon hashes, titles, certificates and HTML content; a first title search found 24,034
SecurityScorecard, the same post as edited that evening4342.9K unique IPs; 82 countries; 15.2K, stated as 35.4%; the 40,214 sentence unchangedSummary figures rewrittenModified 9 February 2026, 21:49 UTC, per page metadata; captured 6 MarchThe post says the dashboard refreshes every 15 minutes
The Register18More than 135,000Dashboard reading when the reporter wrote; about 40,000 at publication earlier that day9 February 2026Reported

These counts cannot be ranked: the units differ, and so do the dates. The SecurityScorecard page also disagrees with itself; the arithmetic is ours. 12,812 is 44.7% of 28,663 and 31.9% of 40,214, not the stated 63%; in the rewritten version 15.2K is about 35.4% of 42.9K. The ASN table gives 4,574 unique IPs after deduplication, but its rows add up to 7,12217. The edited version says 53.3K instances correlate with prior breaches, more than the 40,214 instances the page still states43. We cannot tell which figure is right.

The post does not say how it judged instances vulnerable. From page titles (22% showed the current product name) it infers that most run pre-patch versions17; that is not a test.

The sources contradict each other on the default bind. SecurityScorecard writes that OpenClaw binds to 0.0.0.0:18789 out of the box17, and The Register repeats it18. Censys writes that the default is to listen locally2, and the documentation says loopback5. Bitsight's account lies between: setup asks for a bind mode, and users who want outside access choose the LAN option, which binds 0.0.0.0, or add a reverse proxy16. The repository holds one more cause: the Docker setup script and the Docker install guide default the bind to lan4445. We read the two statements as descriptions of different install paths; SecurityScorecard does not name the one it tested. We did not install the software.

The reverse proxy joins the two failures: the request comes from the internet, yet the gateway sees a loopback peer16. GHSA-xc7w is that case28.

04Model: eight trust assumptions of a local control plane#

In these advisories, local covers at least four callers: the user's own clients; script from any website in the browser; remote requests forwarded by a reverse proxy on the same machine; and other local processes. All four arrive from a loopback address. The maintainers' documentation sets a one-operator trust model and assumes that the host running OpenClaw is within a trusted OS and admin boundary49. We think that holds for the first caller and not for the second: the browser is inside the host, and the code it runs comes from outside.

The table is our model. Each test states only what to observe; we have not run them, and one real test can overturn any row.

No.AssumptionWhy it failsTest and expected resultCases
A1Bound to loopback, so only my own programs reach itBrowser tabs and a reverse proxy on the same machine also connect from loopbackFrom a page on an unrelated origin, try a WebSocket handshake and a state-changing HTTP request on every listening port. Expected: rejected before any auth message is processedW1 to W4, GHSA-xc7w
A2A connection from loopback needs fewer checksFour kinds of caller share that addressList every branch that tests for a local client; repeat each with an Origin header and with forwarding headers. Expected: the same checks as a remote connectionW4, GHSA-g55j, GHSA-qpjj, GHSA-h9g4
A3Only our own front end needs the origin checkThe connecting side fills in both the client id and the Host headerConnect from an unrelated Origin with each known client id and with none; then make the Host header equal the Origin host. Expected: all rejectedW4; the origin check of 2026.2.2
A4A token kept in the browser is safeA URL parameter can change the connection target; query strings and localStorage persistLoad the Control UI with each URL parameter that changes the connection target; record the first message sent and inspect URL, history and storage. Expected: no credential sent without confirmation, no long-lived secret storedW1, GHSA-rchv
A5A password means authenticationNo minimum strength, and no throttling for local sourcesSend wrong passwords in a row from loopback with an Origin header. Expected: throttled within the configured count, and loggedW4; Bitsight saw a single character accepted16
A6Paired means that someone approvedPairing on a local connection is approved automaticallyConnect from a browser origin with a new device identity. Expected: an approval request the user can seeW4
A7Approval prompts and the sandbox are a second line after loginBoth are settings on the same control plane; a logged-in party can switch them offWith an operator token, try to disable approvals or change where commands run. Expected: confirmation through another channel, or a different privilegeW1
A8The browser will block itAt the dateline Chrome's documentation still listed WebSocket as not gatedRepeat A1 on the current stable version of every browser you support. Expected: the same result in eachThe lineage section

One rule follows. Identify the caller first by something it holds, such as a random token or a device key. Then use where it speaks from, the Origin and the peer address, as a filter. In the reverse order the address becomes the identity.

What would overturn the model? The browser change named in the opening would remove A1 and A8 on the browser path; the reverse proxy and the local process would remain. A public test that completes a handshake from an unrelated origin on the direct path after 2026.2.25 would mean the last two rows of the stage table are wrong.

05Checklists: for those who run and those who build local control planes#

If you run OpenClaw#

  1. Upgrade. The W4 fix is in 2026.2.25 and the Dashboard token fix in 2026.3.7822. Then replace the gateway token: depthfirst advises rotation if a leak is suspected19, and before 2026.3.7 the token stayed in the browser's localStorage22.
  2. Use the random token that the onboarding wizard generates, not a password of your own5.
  3. Run openclaw security audit. Its checks include an unauthenticated loopback gateway behind a reverse proxy and a non-loopback Control UI with no origin allowlist5.
  4. Do not enable gateway flags whose names begin with dangerously, in particular dangerouslyAllowHostHeaderOriginFallback and dangerouslyDisableDeviceAuth5.
  5. Behind a reverse proxy, set gateway.trustedProxies, make the proxy overwrite x-forwarded-for, and block direct access to the gateway port5.
  6. With Docker, check the value of OPENCLAW_GATEWAY_BIND; the repository's setup script defaults to lan44.
  7. Disable the Browser Relay extension when you do not use it. The W2 advisory lists this mitigation6.
  8. Review the list of paired devices and remove any you do not recognise; openclaw devices remove exists from 2026.2.1924.

If you build a local control plane#

Fill in one record for each listener. A field you cannot fill in is a task.

Local listener review record: one per listening port and pathtext
Field                    Question to answer
Bind address and port    Which address is actually bound? Can a wildcard be treated as loopback?
Protocol and paths       HTTP, WebSocket, or both? List every state-changing path
Caller identification    Which secret is presented? Where is it made and stored? Can it appear in a URL?
Local exceptions         Which checks are skipped for a loopback source? Reason and test for each
Origin check             Does it run for every request with an Origin? Allowlist or Host header?
Proxy headers            Which branch handles x-forwarded-* requests? Who can send those headers?
Failure handling         Are failed logins counted, throttled and logged? Is loopback exempt?
Power after login        Can the same credential switch off approvals, the sandbox or logging?
Browser tests            On which browsers and versions were A1 and A3 run? Where are the results?
  1. Require a random secret on every listener, including those only your own client should use.
  2. Check every request that carries an Origin header, without relying on a field the connecting side declares or on the Host header.
  3. Do not exempt loopback from throttling or logging; if you must, only for connections without an Origin header.
  4. Show the user a prompt when a new device pairs.
  5. Keep credentials out of URL query strings and persistent storage. Confirm any parameter that changes the connection target.
  6. Require confirmation through another channel before approvals are disabled or the execution location changes.

06Method and limits#

References49

  1. One-click RCE on OpenClaw in under 2 hours with an Autonomous Hacking AgentEthiack · 2026-01-29ethiack.com/info-hub/blog/one-click-rce-openclawFirst write-up of W1. Supports the report time (26 January, 18:02 UTC), the roughly 1 hour 40 minutes to find it, the black-box test of a self-deployed instance, the gateway not validating the WebSocket Origin, and the authors' statement that stable Chrome 144 showed no Local Network Access prompt. The older address /news/blog/one-click-rce-moltbot redirects here. Page metadata shows a modification on 2026-07-27, and the live page has an undated update line at the top; everything we cite is in the Internet Archive capture of 2026-02-10, and that line is not. The author sells automated testing, so the post is also a product demonstration; it links to full exploit code, which we do not cite.
    First-hand reportOriginal read↩× 5
  2. OpenClaw in the Wild: Mapping the Public Exposure of a Viral AI AssistantSilas Cutler · Censys · 2026-01-31censys.com/blog/openclaw-in-the-wild-mapping-the-public-exposure-of-a…Supports the 21,639 instances on 2026-01-31 and the query (HTML title), most instances still requiring a token, the default of listening locally on TCP 18789, and the Moltbot rename date (27 January). The query matches titles for the two older names only, not the title under the current name. Page metadata shows a modification on 2026-02-25.
    Research reportOriginal read↩× 5
  3. OpenClaw Vulnerability: Website-to-Local Agent TakeoverThe Oasis Research Team · Oasis Security · 2026-02-26oasis.security/blog/openclaw-vulnerabilityResearch write-up for W4. Supports the gateway and node description, the chain, hundreds of guesses per second (in the researchers' lab), failed attempts not counted, throttled or logged, automatic local pairing, the fix within 24 hours and the advice to update to 2026.2.25. The page's HTML title is 'ClawJacked: OpenClaw Vulnerability Enables Full Agent Takeover', which is where the name ClawJacked comes from. The live page is marked as updated on 2026-05-27; its body is the same as the Internet Archive capture of 2026-03-07 except for the byline (team name in the capture). No proof-of-concept code is published.
    First-hand reportOriginal read↩× 9
  4. 1-Click RCE via Authentication Token Exfiltration From gatewayUrl (GHSA-g8p2-7wf7-98mq)OpenClaw (GitHub Security Advisory) · 2026-01-31github.com/openclaw/openclaw/security/advisories/GHSA-g8p2-7wf7-98mqAdvisory for W1. Supports the mechanism, the statement that loopback-only instances are exploitable because the victim's browser makes the outbound connection, affected <= 2026.1.28, patched 2026.1.29, CVSS 8.8, the fix commit hash and the credits. The advisory page itself shows no CVE id; the id comes from the CVE record.
    AdvisoryOriginal read↩× 4
  5. Security (docs.openclaw.ai/gateway/security, capture of 2026-03-08)OpenClaw documentation, via the Internet Archive · 2026-03-08web.archive.org/web/20260308122258/https://docs.openclaw.ai/gateway/s…Capture of the official security documentation two days before the dateline. Supports: gateway.bind defaults to loopback and 'only local clients can connect'; device pairing auto-approved for local connects; the onboarding wizard generating a token by default; openclaw security audit and its checks; the dangerously-prefixed flags; trustedProxies guidance; DNS rebinding listed as a deployment hardening concern. The first two statements also appear in the same document at tags v2026.1.24 and v2026.1.29.
    DocumentationOriginal read↩× 11
  6. Browser Relay /cdp websocket missing auth could allow cross-tab cookie access (GHSA-mr32-vwc2-5j6h)OpenClaw (GitHub Security Advisory) · 2026-02-14github.com/openclaw/openclaw/security/advisories/GHSA-mr32-vwc2-5j6hAdvisory for W2. Supports the default address ws://127.0.0.1:18792/cdp, the check being limited to a loopback TCP peer, the impact, the fix, the version ranges and the mitigation of disabling the extension. The fix shipped in early February; the advisory was published on 14 February.
    AdvisoryOriginal read↩× 5
  7. Cross-Site request forgery (CSRF) through loopback browser mutation endpoints (GHSA-3fqr-4cg8-h96q)OpenClaw (GitHub Security Advisory) · 2026-02-15github.com/openclaw/openclaw/security/advisories/GHSA-3fqr-4cg8-h96qAdvisory for W3; the page lists CVE-2026-26317. Supports the verbatim quotation, the impact, the fix conditions (Origin, Referer, Sec-Fetch-Site), the version ranges and the advice to enable auth.
    AdvisoryOriginal read↩× 6
  8. Browser-origin WebSocket auth hardening gap could enable loopback password brute-force chains (GHSA-jmmg-jqc7-5qf4)OpenClaw (GitHub Security Advisory) · 2026-02-26github.com/openclaw/openclaw/security/advisories/GHSA-jmmg-jqc7-5qf4Advisory for W4 (ClawJacked). Supports the three behaviours, the four preconditions, the statement that it is not by itself an unauthenticated internet-exposed RCE issue, affected <= 2026.2.24, patched >= 2026.2.25, the fix details and the note that trusted-proxy forwarded flows remain supported. When opened on 2026-11-30 the advisory page showed no CVE id.
    AdvisoryOriginal read↩× 7
  9. fix(ui): gateway URL confirmation modal (based on #2880) (#3578)openclaw/openclaw (GitHub commit) · 2026-01-28github.com/openclaw/openclaw/commit/a7534dc22382c42465f3676724536a014…Fix commit for W1. Supports the commit time (2026-01-28 21:32 UTC), five files, 63 changed lines (62 added, 1 removed), all under ui/. We read the diff through the GitHub API and the .patch representation.
    Source codeOriginal read↩× 4
  10. src/gateway/server/ws-connection/message-handler.ts (tag v2026.2.24)openclaw/openclaw (source code) · 2026-02raw.githubusercontent.com/openclaw/openclaw/v2026.2.24/src/gateway/se…The gateway's handshake handler. We read the same path at further tags, including v2026.1.24, v2026.1.29, v2026.2.1, v2026.2.2 and v2026.2.25. Supports: no checkBrowserOrigin in the file at v2026.1.29 and v2026.2.1, where the Origin header is only logged; present from v2026.2.2 and run only when the client id or mode is Control UI or Webchat (both taken from the connect message); the same condition at v2026.2.24; the fix present at v2026.2.25, where the new rule applies only to connections with an Origin and no proxy headers; that proxy-header exception is still in the file at v2026.3.8. In review we also read all 130 non-test files under src/gateway/ at tag v2026.1.29, and the same paths at v2026.2.1: the only lines that mention origin are log output and session fields, with no origin check; src/gateway/origin-check.ts does not exist at either tag (HTTP 404). This is a reading of source code, not a test; a check implemented outside src/gateway/ would not show here.
    Source codeOriginal read↩× 7
  11. openclaw (npm registry metadata)npmregistry.npmjs.org/openclawSupports the publication times (UTC): 2026.1.29 on 01-30 04:49, 2026.2.1 on 02-02 11:45, 2026.2.2 on 02-04 00:56, 2026.2.14 on 02-15 02:59, 2026.2.25 on 02-26 04:16, 2026.2.26 on 02-26 23:59, 2026.3.7 on 03-08 05:46.
    Registry recordOriginal read↩× 8
  12. Chrome 142 release notesChrome for Developers · 2025-10-28developer.chrome.com/release-notes/142Supports: stable release date 2025-10-28; Chrome 142 gates requests from public sites to local addresses or loopback behind a permission prompt; the permission is restricted to secure contexts.
    DocumentationOriginal read↩× 3
  13. New permission prompt for Local Network Access (capture of 2026-03-08)Chrome for Developers, via the Internet Archive · 2025-06-09web.archive.org/web/20260308231158/https://developer.chrome.com/blog/…Published 2025-06-09; we read a capture from two days before the dateline. Supports: the prompt covers fetch(), subresource loading and subframe navigation; WebSocket, WebTransport and WebRTC connections are not yet gated, with plans to add them; the definition of loopback. The limitation is written under the Chrome 138 opt-in notes, the page's last update note is dated 2025-09-29, and it does not separately state the WebSocket status after 142. This page alone does not settle the state at the dateline, which is why we also cite chrome-145.
    DocumentationOriginal read↩× 4
  14. Chrome 145 release notesChrome for Developers · 2026-02-10developer.chrome.com/release-notes/145Supports: stable release date 2026-02-10; the Local Network Access permission split into local-network and loopback-network; no entry that brings WebSocket under Local Network Access. The Internet Archive capture of 2026-02-16 has the same entry. We also read the release notes for 143 (2025-12-02) and 144 (2026-01-13); neither has a Local Network Access entry. Chrome 146 has the dateline itself (2026-03-10) as its stable date and its release notes were first archived on 2026-03-11, so we do not cite them in the article. Release notes that announce nothing are not a test of browser behaviour.
    DocumentationOriginal read↩× 2
  15. RFC 6455: The WebSocket ProtocolI. Fette, A. Melnikov · IETF · 2011-12rfc-editor.org/rfc/rfc6455.txtSection 4.2.2: the server may use Origin to decide whether to accept the connection; without validation it accepts connections from anywhere. Section 10.1: non-browser clients can send a fake Origin. Section 10.2: servers meant only for certain sites should verify Origin.
    StandardOriginal read↩× 3
  16. OpenClaw🦞 (ex-Moltbot (ex-Clawdbot)): The AI Butler With Its Claws On The Keys To Your KingdomJoão Cruz · Bitsight · 2026-02-09bitsight.com/blog/openclaw-ai-security-risks-exposed-instancesSupports: more than 30,000 distinct instances cumulatively from 27 January to 8 February; the daily scan of 18789/tcp; the bind-mode prompt at setup (the LAN option binds 0.0.0.0); a reverse proxy making connections look local; a single character being accepted as password or token. The author says screenshots come from their own instance and that they did not touch anyone else's. All of this is in the Internet Archive capture of 2026-03-08.
    Research reportOriginal read↩× 5
  17. Beyond the Hype: Moltbot’s Real Risk Is Exposed Infrastructure, Not AI Superintelligence (capture of 2026-02-09)SecurityScorecard STRIKE, via the Internet Archive · 2026-02-09web.archive.org/web/20260209145250/https://securityscorecard.com/blog…Capture from the day of publication (page metadata: published 2026-02-09 13:00 UTC). Supports: 40,214 instances, 28,663 unique IPs, 76 countries, 12,812 and 63%, 549 correlated with prior breaches, 24,034 from the title search, 23,505 showing control panels, the favicon method and the ASN table for 4,574 unique IPs, the split across three titles, and the statement that the default bind is 0.0.0.0:18789. The post does not say how the 12,812 instances were judged vulnerable; the only version evidence it gives is the split of page titles. Nor does it say under which install method the default bind was observed.
    Research reportOriginal read↩× 5
  18. More than 135,000 OpenClaw instances exposed to internet in latest vibe-coded disasterThe Register · 2026-02-09theregister.com/2026/02/09/openclaw_instances_exposed_vibe_codeSupports the dashboard reading of more than 135,000 at the time of writing, and the figures at publication earlier the same day (about 40,000, 12,812, 549). It also repeats the claim that the default listens on all interfaces. We did not open the dashboard itself.
    PressOriginal read↩× 3
  19. 1-Click RCE To Steal Your OpenClaw Data and Keys (CVE-2026-25253)Mav Levin · depthfirst · 2026-02-01depthfirst.com/research/1-click-rce-to-steal-your-moltbot-data-and-keysSecond write-up of W1. Supports the three-step data flow in the Control UI, the missing Origin validation, the operator.admin and operator.approvals scopes on the stolen token, approvals and sandbox being switchable through the API, the statement that versions up to v2026.1.24-1 are affected, and that a second person reported the bug. The page contains request examples; we stop at the mechanism.
    First-hand reportOriginal read↩× 7
  20. CVE-2026-25253CVE Program (assigner: MITRE) · 2026-02-01cveawg.mitre.org/api/cve/CVE-2026-25253JSON record from CVE Services. Supports the publication time (2026-02-01), 'before 2026.1.29', CVSS 3.1 8.8, and references to both Ethiack and depthfirst.
    Registry recordOriginal read↩× 2
  21. fix(gateway): harden browser websocket auth chainPeter Steinberger · openclaw/openclaw (GitHub commit) · 2026-02-26github.com/openclaw/openclaw/commit/c736f11a16d6bc27ea62a0fe40fffae4c…Fix commit for W4, 2026-02-26 00:22 UTC. Supports the new origin-check condition (Origin present and no proxy headers), the separate limiter that never exempts loopback, the new condition for silent pairing, and the configuration reference line saying auth.rateLimit.exemptLoopback defaults to true. We read the diff through the GitHub API and the .patch representation.
    Source codeOriginal read↩× 4
  22. Dashboard leaked gateway auth material via browser URL/query and localStorage (GHSA-rchv-x836-w7xp)OpenClaw (GitHub Security Advisory) · 2026-03-08github.com/openclaw/openclaw/security/advisories/GHSA-rchv-x836-w7xpSupports: the macOS app put the token and password into the Dashboard URL query string; the Control UI persisted the token in localStorage; the fix; affected <= 2026.3.2, patched >= 2026.3.7.
    AdvisoryOriginal read↩× 4
  23. CVE-2026-28458CVE Program (assigner: VulnCheck) · 2026-03-05cveawg.mitre.org/api/cve/CVE-2026-28458CVE record for W2, published 2026-03-05. Used only for the id and the publication date.
    Registry recordOriginal read↩
  24. CHANGELOG.md (tag v2026.3.8)openclaw/openclaw · 2026-03raw.githubusercontent.com/openclaw/openclaw/v2026.3.8/CHANGELOG.mdSupports: gateway auth mode none removed in 2026.1.29; the 2026.2.19 section says unresolved auth defaults to token mode with an auto-generated token, while an explicit gateway.auth.mode of none is allowed for intentional open loopback setups; the 2026.2.26 section says the CLI --auth option accepts none and trusted-proxy; the version sequence; 2026.3.2 tying the loopback-origin allowance to actual local socket clients; openclaw devices remove added in 2026.2.19. The entry for the W4 fix says it ships in npm 2026.2.26 at tags v2026.2.26 and v2026.3.8; the same file at tag v2026.2.25 (and the fix commit's diff) says 2026.2.25.
    Source codeOriginal read↩× 5
  25. src/gateway/auth.ts (tag v2026.2.19)openclaw/openclaw (source code) · 2026-02raw.githubusercontent.com/openclaw/openclaw/v2026.2.19/src/gateway/au…The gateway's auth module. We read the same path at 23 tags from v2026.1.24 to v2026.3.8. Supports: the auth mode type includes none at v2026.1.24; it has only token and password from v2026.1.29 to v2026.2.13; from v2026.2.14 to v2026.2.17, none is what the mode resolves to when no secret is configured, and the connect authorisation function has no branch that accepts it, so the result is a refusal; from v2026.2.19, an unset mode resolves to token, and an explicit none makes the connect authorisation function return success without looking at any credential, unchanged at v2026.3.8. This is a reading of source code, not a test; the device identity and pairing checks that follow are outside this file.
    Source codeOriginal read↩× 2
  26. src/gateway/origin-check.ts (tag v2026.2.2)openclaw/openclaw (source code) · 2026-02raw.githubusercontent.com/openclaw/openclaw/v2026.2.2/src/gateway/ori…First version of the origin-check function. We read the same path at v2026.2.19, v2026.2.21, v2026.2.22, v2026.2.23, v2026.2.24, v2026.2.25, v2026.3.2 and v2026.3.8. Supports the three pass conditions (allowlist, Origin host equal to the Host header, both names loopback); the Host-header condition requiring a flag from v2026.2.23; the loopback condition depending on isLocalClient from v2026.3.2.
    Source codeOriginal read↩× 2
  27. Unauthenticated Local RCE via WebSocket config.apply (GHSA-g55j-c2v4-pjcg)OpenClaw (GitHub Security Advisory) · 2026-02-04github.com/openclaw/openclaw/security/advisories/GHSA-g55j-c2v4-pjcgThe page lists CVE-2026-25593. Supports: an unauthenticated local client could write config through config.apply; fixed in 2026.1.20; the advice to set gateway.auth. The advisory speaks only of local processes and does not mention browsers.
    AdvisoryOriginal read↩
  28. Webhook auth bypass when gateway is behind a reverse proxy (loopback remoteAddress trust) (GHSA-xc7w-v5x6-cc87)OpenClaw (GitHub Security Advisory) · 2026-02-14github.com/openclaw/openclaw/security/advisories/GHSA-xc7w-v5x6-cc87Supports: the BlueBubbles webhook treated a loopback peer as authenticated; reverse proxies connect to the gateway over loopback; the fix removes the bypass. BlueBubbles is an optional plugin and is not enabled by default.
    AdvisoryOriginal read↩× 2
  29. Chrome extension relay binds publicly due to wildcard treated as loopback (GHSA-qw99-grcx-4pvm)OpenClaw (GitHub Security Advisory) · 2026-02-14github.com/openclaw/openclaw/security/advisories/GHSA-qw99-grcx-4pvmSupports: the relay treated 0.0.0.0 and :: as loopback and could bind to all interfaces when given a wildcard; the version range.
    AdvisoryOriginal read↩
  30. missing authentication for local browser-control endpoints (GHSA-qpjj-47vm-64pj)OpenClaw (GitHub Security Advisory) · 2026-02-16github.com/openclaw/openclaw/security/advisories/GHSA-qpjj-47vm-64pjSupports: browser-control routes did not enforce auth when none was configured; the advisory's description of the exposure (local process and local proxy); the remediation.
    AdvisoryOriginal read↩
  31. Authentication bypass in sandbox browser bridge server (GHSA-h9g4-589h-68xv)OpenClaw (GitHub Security Advisory) · 2026-02-16github.com/openclaw/openclaw/security/advisories/GHSA-h9g4-589h-68xvSupports: the sandbox browser bridge server started without auth; any process on the same machine could reach it; the version range; the fix.
    AdvisoryOriginal read↩
  32. Auth inconsistency on local Browser Extension Relay /extension endpoint (GHSA-pfv7-rr5m-qmv6)OpenClaw (GitHub Security Advisory) · 2026-02-21github.com/openclaw/openclaw/security/advisories/GHSA-pfv7-rr5m-qmv6Supports: /extension accepted unauthenticated WebSocket upgrades; the verbatim line in the fix notes. The advisory classes it as a local-only issue.
    AdvisoryOriginal read↩× 2
  33. Repository security advisories for openclaw/openclaw (GitHub REST API)GitHubapi.github.com/repos/openclaw/openclaw/security-advisories?per_page=1…The repository's advisory list, read on 2026-11-30 through the unauthenticated REST API, sorted by publication time. We used it to select by title the 11 advisories we read in full, to fetch their text, and to confirm that the last edit (updated_at) of each of the 11 is no later than 2026-03-08. We do not cite the list's total or its severity split: those are the state on the day we read it, not the state at the dateline.
    Registry recordOriginal read↩
  34. Protecting Browsers from DNS Rebinding AttacksCollin Jackson, Adam Barth, Andrew Bortz, Weidong Shao, Dan Boneh · ACM CCS 2007 · 2007-10crypto.stanford.edu/dns/dns-rebinding.pdfWe read only the first page that our PDF text extraction produced (title, authors, abstract, start of the introduction). Supports the abstract: DNS rebinding subverts the browser's same-origin policy, converts browsers into open network proxies and can circumvent firewalls. We do not cite the defences later in the paper.
    PaperOriginal read↩
  35. CVE-2019-13450CVE Program · 2019-07-09cveawg.mitre.org/api/cve/CVE-2019-13450CVE record for the Zoom client. Supports: any web site can interact with the web server on localhost port 19421 or 19424 and force a user to join a call with the camera active. We could not open researcher Jonathan Leitschuh's original post (HTTP 403).
    Registry recordOriginal read↩
  36. CVE-2024-28224CVE Program · 2024-04-08cveawg.mitre.org/api/cve/CVE-2024-28224CVE record for Ollama. Supports: a DNS rebinding vulnerability before 0.1.29 that can allow remote access to the full API. We could not open NCC Group's technical advisory (HTTP 403).
    Registry recordOriginal read↩
  37. 0.0.0.0 Day: Exploiting Localhost APIs From the BrowserOligo Security · 2024-08-07oligo.security/blog/0-0-0-0-day-exploiting-localhost-apis-from-the-br…Supports: public sites can reach local services on macOS and Linux through 0.0.0.0 (Windows not affected); Chromium blocking it from 128 with completion planned for 133; WebKit changed; no Firefox fix at the time. The browser status is Oligo's account from August 2024; we did not verify later developments.
    Research reportOriginal read↩
  38. Critical RCE Vulnerability in Anthropic MCP Inspector - CVE-2025-49596Oligo Security · 2025-06-27oligo.security/blog/critical-rce-vulnerability-in-anthropic-mcp-inspe…Supports: CVE-2025-49596, CVSS 9.4, no authentication between the Inspector client and proxy before 0.14.1, a public site being able to trigger command execution, the DNS rebinding variant, the fix adding a default session token and allowed-origin checks, and an earlier report by another researcher on 2025-03-26. The CVE record (assigner GitHub, published 2025-06-13) gives the score as 9.4 under CVSS 4.0.
    Research reportOriginal read↩× 2
  39. Claude Code Improper Authorization via websocket connections from arbitrary origins (GHSA-9f65-56v6-gxw7)GitHub Advisory Database · 2025-06-23github.com/advisories/GHSA-9f65-56v6-gxw7CVE-2025-52882. Supports: Claude Code extensions for VS Code forks and JetBrains IDEs accepted unauthorised WebSocket connections when the user visited an attacker's page; the affected versions; the fix in 1.0.24.
    AdvisoryOriginal read↩
  40. Cross-site WebSocket hijackingPortSwigger Web Security Academyportswigger.net/web-security/websockets/cross-site-websocket-hijackingTeaching page, undated. Supports the definition of CSWSH: the handshake relies solely on cookies for session handling with no unpredictable value, and the attacker gains two-way interaction.
    DocumentationOriginal read↩
  41. Model Context Protocol specification 2025-11-25: TransportsModel Context Protocol · 2025-11-25modelcontextprotocol.io/specification/2025-11-25/basic/transportsSecurity warning for Streamable HTTP: servers MUST validate Origin to prevent DNS rebinding; when running locally they SHOULD bind only to localhost; they SHOULD implement authentication for all connections.
    StandardOriginal read↩
  42. Firefox 147.0 release notesMozilla · 2026-01-13firefox.com/en-US/firefox/147.0/releasenotesSupports: local network access restrictions enabled by default for users with Enhanced Tracking Protection set to Strict; part of a progressive rollout. The notes do not list which request types are covered.
    DocumentationOriginal read↩× 2
  43. Beyond the Hype: Moltbot’s Real Risk Is Exposed Infrastructure, Not AI Superintelligence (capture of 2026-03-06)SecurityScorecard STRIKE, via the Internet Archive · 2026-02-09web.archive.org/web/20260306034514/https://securityscorecard.com/blog…The same post after it was rewritten; we read the capture of 6 March. Page metadata gives the modification time as 2026-02-09 21:49 UTC, the evening of publication; the captures of 2026-02-10 20:24 UTC and 2026-03-02 have the same body. Supports: 42.9K unique IPs, 82 countries, 15.2K and 35.4%, 53.3K correlated with prior breaches, the unchanged 40,214 sentence, and the dashboard refreshing every 15 minutes. These figures are not a March measurement.
    Research reportOriginal read↩× 2
  44. docker-setup.sh (tag v2026.3.8)openclaw/openclaw (source code) · 2026-03raw.githubusercontent.com/openclaw/openclaw/v2026.3.8/docker-setup.shSupports OPENCLAW_GATEWAY_BIND defaulting to lan when unset. docker-compose.yml at the same tag, and both files at v2026.1.29 and v2026.2.2, say the same; docker-compose.yml also publishes container port 18789 on the host. We did not run the script.
    Source codeOriginal read↩× 2
  45. docs/install/docker.md (tag v2026.3.8)openclaw/openclaw (documentation) · 2026-03raw.githubusercontent.com/openclaw/openclaw/v2026.3.8/docs/install/do…The Docker install guide. Supports: docker-setup.sh defaults OPENCLAW_GATEWAY_BIND to lan so that the host browser and host CLI can reach the published gateway port; in loopback mode only processes inside the container network namespace can reach it. The same document at tag v2026.1.29 also says the gateway bind defaults to lan for container use. Does not support: whether this is the install path that SecurityScorecard tested.
    DocumentationOriginal read↩
  46. Hacking Moltbook: The AI Social Network Any Human Can ControlWiz · 2026-02-02wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keysBackground only. Supports: Moltbook's Supabase database was open to read and write, 1.5 million API authentication tokens, 35,000 email addresses, fixed within hours.
    Research reportOriginal read↩
  47. ClawHavoc: 341 Malicious Clawed Skills Found by the Bot They Were TargetingOren Yomtov · Koi Security (republished on the Palo Alto Networks blog) · 2026-02-01paloaltonetworks.com/blog/security-operations/clawhavoc-ai-agent-skil…Background only. Supports: 341 malicious skills among 2,857; updated on 2026-02-16 to 824 among more than 10,700. The original koi.ai address now redirects to a product page; we read the copy on the Palo Alto Networks blog.
    Research reportOriginal read↩
  48. OpenClaw Partners with VirusTotal for Skill SecurityOpenClaw · 2026-02-07openclaw.ai/blog/virustotal-partnershipBackground only. Supports the announcement on 2026-02-07 that skills published to ClawHub are scanned by VirusTotal. This is a vendor statement.
    Vendor statementOriginal read↩
  49. SECURITY.md (tag v2026.3.8)openclaw/openclaw · 2026-03raw.githubusercontent.com/openclaw/openclaw/v2026.3.8/SECURITY.mdSupports the one-operator trust model, the assumption that the host running OpenClaw is within a trusted OS and admin boundary, the web interface being intended for local use only, and the instruction not to expose it to the public internet.
    DocumentationOriginal read↩

Cite this piece

Shellbits Research. “Localhost is not a boundary: a browser tab is also a local client of your agent gateway.” Field Notes, SBR-2026-02. 2026-03-10. https://shellbits.com/research/localhost-is-not-a-boundary/

Version and notesv1.0

First published . Corrections: research@shellbits.com; we log every correction here.

On the Shellbits platform this problem belongs to Aperture.

Related pieces