CVE-2026-35653: OpenClaw: `browser.request` still allows `POST /reset-profile` through the `operator.write` surface
In OpenClaw before 2026.3.24, a gateway caller with only operator.write could use browser.request to send POST /reset-profile. That route stops the browser and moves the profile's userDataDir to Trash. An earlier fix blocked profile create and delete but missed this route. Upgrade to 2026.3.24.
Published Mar 30, 2026 · Updated Apr 10, 2026 · Analysis Oct 31, 2026
What an attacker can do
browser.request sits on the operator.write surface (src/gateway/method-scopes.ts). The handler in src/gateway/server-methods/browser.ts denies a request only when isPersistentBrowserProfileMutation(method, path) returns true. The classifier in src/browser/request-policy.ts recognized POST /profiles/create and DELETE /profiles/:name, the routes covered by the earlier advisory GHSA-vmhq-cqm9-6p7q, but not POST /reset-profile (CWE-863).
The browser server maps that route to resetProfile() (src/browser/server-context.reset.ts). It stops the running browser for the profile, closes the Playwright connection, and moves the local userDataDir to Trash if it exists. The advisory's test shows the control request to /profiles/create rejected with "browser.request cannot create or delete persistent browser profiles", while /reset-profile goes through.
The attacker needs authenticated access with operator.write, not admin. They cannot read data this way, but they destroy persistent browser state: saved logins, cookies and sessions the agent depends on, and they disrupt browsing tasks. The CVSS vector reflects high integrity and availability impact.
Who is affected
The openclaw npm package before 2026.3.24. The advisory tested 2026.3.22 and describes it as a residual gap after the earlier profile-mutation fix. The exposure applies where callers with operator.write but not operator.admin can use browser.request. The same classifier is reused in src/node-host/invoke-browser.ts when profile restrictions are active. Check the version:
npm ls openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- < 2026.3.24
- Fixed in
- 2026.3.24
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.24 or later:
npm install -g [email protected]The advisory says the fix shipped in 2026.3.24 and links no commit. Its recommended change is to add POST /reset-profile to the persistent-profile mutation classifier and reuse that classifier in both the gateway handler and the node-host browser proxy, with a deny test for the route. It gives no workaround. Until you upgrade, limit which clients receive operator.write on the gateway.
How to tell if you were hit
Look in gateway logs for browser.request calls with method POST and path /reset-profile from clients that only hold operator.write. Check whether browser profile directories were moved to Trash, and whether agents lost saved logins or cookies, or had browser sessions closed without a user action. After upgrading, such a request is denied by the mutation gate.
Beam records agent tool calls and file access, which would show a profile directory being removed during an agent run.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Fixed in OpenClaw 2026.3.24, the current shipping release.
Title
browser.request still allows POST /reset-profile through the operator.write surface in OpenClaw v2026.3.22 after GHSA-vmhq-cqm9-6p7q
Severity Assessment
High
CWE:
CWE-863: Incorrect Authorization
Proposed CVSS v3.1:
8.1(CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H)
An authenticated caller who only has access to the scoped Gateway method browser.request on the operator.write surface can still reach a destructive persistent-profile management route.
Likely related advisory family:
GHSA-vmhq-cqm9-6p7q
This should be treated as a later-version residual or incomplete fix. The earlier fix blocked POST /profiles/create and profile deletion, but the latest released v2026.3.22 code still omits POST /reset-profile from the same mutation gate.
Impact
A caller with operator.write access to browser.request can still trigger persistent profile reset via POST /reset-profile.
This crosses the intended privilege boundary for browser profile management because the release already attempts to block adjacent persistent profile mutations on this same surface.
In practice, the allowed route reaches destructive behavior that can:
- stop the running browser for that profile
- close the Playwright browser connection for that profile
- move the profile's local
userDataDirto Trash when it exists
This is a real integrity and availability impact on persistent browser state, not a route-classification mismatch with no side effects.
Affected Component
Product:
openclaw
Tested latest released version:
- release tag:
v2026.3.22 - release tag target commit (peeled tag):
e7d11f6c33e223a0dd8a21cfe01076bd76cef87a
Published artifact for that release:
- package:
openclaw-2026.3.22.tgz - package build-info commit:
4dcc39c25c6cc63fedfd004f52d173716576fcf0 - package build-info timestamp:
2026-03-23T10:56:05.946Z
Exact vulnerable paths on the shipped tag:
src/gateway/method-scopes.ts:114browser.requestis placed on theoperator.writesurfacesrc/gateway/server-methods/browser.ts:155-165- requests are only denied when
isPersistentBrowserProfileMutation(method, path)returns true src/browser/request-policy.ts:19-25- the mutation classifier recognizes
POST /profiles/createandDELETE /profiles/:name, but notPOST /reset-profile src/browser/routes/basic.ts:161-170- the browser server exposes
POST /reset-profile src/browser/server-context.reset.ts:37-63resetProfile()stops the browser, closes the connection, and moves the local profile directory to Trash when presentsrc/node-host/invoke-browser.ts:240-243- the same route-classification helper is reused in the browser proxy path when profile restrictions are active
Relevant regression coverage gap on the shipped tag:
src/gateway/server-methods/browser.profile-from-body.test.ts:104-140- tests only block
POST /profiles/createandDELETE /profiles/:name - there is no equivalent deny case for
POST /reset-profile
Published artifact evidence for the exact released package:
openclaw-2026.3.22.tgz::package/dist/build-info.jsonopenclaw-2026.3.22.tgz::package/dist/gateway-cli-Cxz4pSoJ.js:11469-11525openclaw-2026.3.22.tgz::package/dist/gateway-cli-Cxz4pSoJ.js:11484-11485openclaw-2026.3.22.tgz::package/dist/request-policy-nIRryZwZ.js:9-12openclaw-2026.3.22.tgz::package/dist/routes-CdaHRCET.js:6874-6889
Important release note:
- the published package build-info commit differs from the release tag target commit
- for this issue, the relevant authorization and route behavior was cross-checked in both the shipped tag source and the published package bundle, and it matches semantically on the vulnerable path
Technical Reproduction
A direct control/exploit pair can be reproduced against the latest released version.
Preconditions:
- use
[email protected] - authenticate as a caller that has access to the scoped Gateway method
browser.request - keep that caller on
operator.write, notoperator.admin - ensure the target local browser profile exists
Reproduction steps:
- Call
browser.requestwith: method: "POST"path: "/profiles/create"body: { "name": "poc-profile" }- Observe the control case is rejected with:
browser.request cannot create or delete persistent browser profiles- Call
browser.requestagain with: method: "POST"path: "/reset-profile"body: { "profile": "poc-profile", "name": "poc-profile" }- Observe that the exploit case is not rejected by the same handler.
- Observe that the request is forwarded to the browser route/dispatcher, rather than being denied by the mutation classifier.
- Observe that the reset route succeeds and applies profile reset behavior.
Why this happens in the released code:
- the release tries to gate persistent profile mutation using
isPersistentBrowserProfileMutation(...) - that helper does not classify
POST /reset-profileas a protected mutation - the exposed browser server route still maps
/reset-profiletoprofileCtx.resetProfile() resetProfile()performs state-changing behavior on the selected local profile
Demonstrated Impact
The shipped release shows the following behavior difference:
Control case:
POST /profiles/create- rejected before the request is dispatched to the browser control path
Exploit case:
POST /reset-profile- not classified as a blocked mutation
- remains reachable through the
browser.requestsurface - reaches
resetProfile(), which performs destructive profile-management operations
The reached route has concrete side effects:
- stops the running browser if active
- closes the Playwright browser connection
- moves the profile's local
userDataDirto Trash if it exists
This is therefore a concrete authorization and policy gap on a real destructive profile-management route. It is not a complaint about the existence of browser.request by itself.
Environment
Environment used for validation:
- product:
openclaw - latest released version:
2026.3.22 - release tag:
v2026.3.22 - release tag target commit (peeled tag):
e7d11f6c33e223a0dd8a21cfe01076bd76cef87a - published package:
openclaw-2026.3.22.tgz - published package build-info commit:
4dcc39c25c6cc63fedfd004f52d173716576fcf0
Explicit trust-model statement:
- this report does not rely on adversarial or mutually untrusted operators sharing one gateway host or config
Scope check:
- this is not a complaint about the existence of the explicit
browser.requestsurface by itself - this is not a prompt-injection-only report
- this is not a multi-tenant shared-gateway claim
- this is not an attack on the unscoped HTTP compatibility endpoints
- this is a concrete missed route inside an intended privilege gate on a real scoped Gateway method
- the control case proves the policy is intended to exist on this surface, and the exploit case proves
POST /reset-profileremains outside that gate in the shipped release
Remediation Advice
Recommended fix:
- Extend the persistent-profile mutation classifier to include
POST /reset-profile. - Reuse the same centralized route classification everywhere the release currently relies on
isPersistentBrowserProfileMutation(...), including: src/gateway/server-methods/browser.tssrc/node-host/invoke-browser.ts- Add regression coverage with both:
- a deny control for
POST /reset-profileon the lower-privilegebrowser.requestsurface - an allow control for non-mutating browser profile reads
- Review nearby profile-management routes for any other state-changing endpoints that are still omitted from the mutation classifier.
- Treat
GHSA-vmhq-cqm9-6p7qas the prior family and close the remaining residual route in the same policy surface.
Credited to tdjackey.
Questions
- How is this different from GHSA-vmhq-cqm9-6p7q?
That earlier advisory fix blocked profile create and delete through browser.request. This one is the route it left out: POST /reset-profile.
- Can the attacker read browser data?
The advisory describes destructive impact only. The reset stops the browser, closes the connection and moves the profile directory to Trash. It reports no data read.
- Which version is patched?
2026.3.24. The advisory tested 2026.3.22 as vulnerable.
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 entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
