Skip to content

GHSA-xp9r-prpg-373r CVE-2026-35653

OpenClaw: `browser.request` still allows `POST /reset-profile` through the `operator.write` surface

High npm
Severity
7.2 / 10
High · CVSS 4.0
Exploit chance (EPSS)
0.60%
Chance of exploitation in the next 30 days. Higher than 48.72% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-863 Incorrect Authorization
Fix
2026.3.24
Upgrade openclaw to this version or later

Description

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 userDataDir to 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:114
    • browser.request is placed on the operator.write surface
  • src/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/create and DELETE /profiles/:name, but not POST /reset-profile
  • src/browser/routes/basic.ts:161-170
    • the browser server exposes POST /reset-profile
  • src/browser/server-context.reset.ts:37-63
    • resetProfile() stops the browser, closes the connection, and moves the local profile directory to Trash when present
  • src/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/create and DELETE /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.json
  • openclaw-2026.3.22.tgz::package/dist/gateway-cli-Cxz4pSoJ.js:11469-11525
  • openclaw-2026.3.22.tgz::package/dist/gateway-cli-Cxz4pSoJ.js:11484-11485
  • openclaw-2026.3.22.tgz::package/dist/request-policy-nIRryZwZ.js:9-12
  • openclaw-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 openclaw@2026.3.22
  • authenticate as a caller that has access to the scoped Gateway method browser.request
  • keep that caller on operator.write, not operator.admin
  • ensure the target local browser profile exists

Reproduction steps:

  1. Call browser.request with:
    • method: "POST"
    • path: "/profiles/create"
    • body: { "name": "poc-profile" }
  2. Observe the control case is rejected with:
    • browser.request cannot create or delete persistent browser profiles
  3. Call browser.request again with:
    • method: "POST"
    • path: "/reset-profile"
    • body: { "profile": "poc-profile", "name": "poc-profile" }
  4. Observe that the exploit case is not rejected by the same handler.
  5. Observe that the request is forwarded to the browser route/dispatcher, rather than being denied by the mutation classifier.
  6. 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-profile as a protected mutation
  • the exposed browser server route still maps /reset-profile to profileCtx.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.request surface
  • 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 userDataDir to 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.request surface 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-profile remains outside that gate in the shipped release

Remediation Advice

Recommended fix:

  1. Extend the persistent-profile mutation classifier to include POST /reset-profile.
  2. Reuse the same centralized route classification everywhere the release currently relies on isPersistentBrowserProfileMutation(...), including:
    • src/gateway/server-methods/browser.ts
    • src/node-host/invoke-browser.ts
  3. Add regression coverage with both:
    • a deny control for POST /reset-profile on the lower-privilege browser.request surface
    • an allow control for non-mutating browser profile reads
  4. Review nearby profile-management routes for any other state-changing endpoints that are still omitted from the mutation classifier.
  5. Treat GHSA-vmhq-cqm9-6p7q as the prior family and close the remaining residual route in the same policy surface.

Affected versions

npm

PackageVulnerableFixed in
openclaw
< 2026.3.24
2026.3.24

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

openclaw npm → 2026.3.24

npm
npm install openclaw@2026.3.24
yarn
yarn add openclaw@2026.3.24
pnpm
pnpm add openclaw@2026.3.24

Severity breakdown

CVSS 4.0 7.2

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality (vulnerable system)
None
Integrity (vulnerable system)
High
Availability (vulnerable system)
High
Confidentiality (subsequent systems)
None
Integrity (subsequent systems)
None
Availability (subsequent systems)
None
Exploit maturity
Not defined
Scope
X

CVSS 3.1 8.1

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Weakness

CWE-863: Incorrect Authorization

The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

How to prevent it
  • Architecture and Design: Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
  • Architecture and Design: Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using authorization frameworks such as the JAAS Authorization Framework [REF-233] and the OWASP ESAPI Access Control feature [REF-45].
  • Architecture and Design: For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page. One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.
  • System Configuration, Installation: Use the access control capabilities of your operating system and server environment and define your access control lists accordingly. Use a "default deny" policy when defining these ACLs.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-3x84-qq85-fj65
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
High Also affects openclaw
GHSA-9c3v-684m-579c
OpenClaw MCP SSE redirects could forward Authorization headers
Medium Also affects openclaw
GHSA-f397-5vjw-v2c2
OpenClaw: Shell inline-command parsing could miss an allowlist check
High Also affects openclaw
GHSA-rx78-29qr-5hq8
OpenClaw: Workspace-derived service PATH could influence trash command selection
High Also affects openclaw
GHSA-ccwh-wwpp-6wg5
OpenClaw: Host environment sanitizer missed two Node.js control variables
High Also affects openclaw
GHSA-985f-72mj-8gf7
OpenClaw: Tool group policy callers could accept unvalidated group IDs
Medium Also affects openclaw
GHSA-9v8j-9c9g-w66c
OpenClaw: Bootstrap token replay could widen pending pairing scopes
Medium Also affects openclaw
GHSA-c226-q6fx-6j6c
OpenClaw: macOS Swift exec allowlist missed combined POSIX inline flags
Medium Also affects openclaw
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor