GHSA-39mp-545q-w789 CVE-2026-35620
OpenClaw: Non-owner command-authorized sender can change the owner-only `/send` session delivery policy
- Severity
- 0.0 / 10
- Medium · CVSS 4.0
- Exploit chance (EPSS)
- 0.44%
- Chance of exploitation in the next 30 days. Higher than 38.48% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Fix
2026.3.24- Upgrade openclaw to this version or later
Description
Fixed in OpenClaw 2026.3.24, the current shipping release.
Title
Non-owner command-authorized sender can change the owner-only /send session delivery policy
CWE
CWE-285 Improper Authorization
CVSS v3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Base score: 5.4 (Medium)
Severity Assessment
Medium. This is a real owner-only authorization bypass, but the demonstrated impact is limited to persistent mutation of the current session’s delivery policy rather than direct code execution, sandbox escape, or cross-host compromise.
Impact
A non-owner sender who is allowed to run commands can invoke /send on|off|inherit and persistently change the current session’s sendPolicy, even though OpenClaw documents /send as owner-only.
That lets a lower-trust participant:
- disable reply delivery for the current session (
/send off), suppressing future replies in that chat; - re-enable reply delivery (
/send on) after the owner intentionally disabled it; - remove the session override (
/send inherit).
Affected Component
Verified against the latest published GitHub release tag v2026.3.23 (ccfeecb6887cd97937e33a71877ad512741e82b2), published 2026-03-23T23:15:50Z.
Exact vulnerable path on the shipped tag:
src/auto-reply/reply/commands-session.ts:212-239handleSendPolicyCommand(...)checks onlyparams.command.isAuthorizedSender.- when true, it mutates
params.sessionEntry.sendPolicyand persists the session entry.
Authorization behavior that makes this reachable:
src/auto-reply/command-auth.ts:401-407senderIsOwneris computed separately from general command authorization.
src/auto-reply/command-auth.ts:420-429- command authorization can succeed even when
senderIsOwner === false.
- command authorization can succeed even when
src/auto-reply/command-auth.owner-default.test.ts:10-47- existing coverage confirms a sender can be command-authorized while not treated as owner.
Documented owner-only contract:
docs/tools/slash-commands.md:112/send on|off|inheritis documented as owner-only.
docs/concepts/session-tool.md:156sendPolicyis documented as settable viasessions.patchor owner-only/send on|off|inherit.
Related privilege model:
src/gateway/method-scopes.ts:131-133sessions.patchis admin-scoped, which reinforces that session-delivery-policy mutation is treated as privileged state.
Version history:
- The vulnerable handler exists in release history going back at least to commit
ea018a68ccb92dbc735bc1df9880d5c95c63ca35(refactor(auto-reply): split reply pipeline). - Earliest released affected tag found:
v2026.1.14-1 - Latest released affected tag verified:
v2026.3.23
Technical Reproduction
- Check out the shipped release tag
v2026.3.23. - Configure a channel where:
- a non-owner sender is allowed to run commands, for example through
commands.allowFrom; - the owner identity is distinct, for example via
commands.ownerAllowFrom.
- a non-owner sender is allowed to run commands, for example through
- Start or reuse a session with a live
sessionEntryandsessionStore. - Send
/send offas the non-owner but command-authorized sender. - Confirm the resolved command context has:
isAuthorizedSender === truesenderIsOwner === false
- Observe that the handler still accepts the command, mutates
sessionEntry.sendPolicy, and persists the session entry.
Demonstrated Impact
The vulnerable handler performs a real persistent session-state change:
src/auto-reply/reply/commands-session.ts:232-238/send inheritdeletessessionEntry.sendPolicy- other modes assign
sessionEntry.sendPolicy = sendPolicyCommand.mode - the handler then calls
persistSessionEntry(params)
The mutation is not gated by owner status, only by general command authorization.
That changes subsequent delivery behavior for the current session, which matches the documented meaning of sendPolicy.
Environment
- Product: OpenClaw
- Verified shipped tag:
v2026.3.23 - Shipped tag commit:
ccfeecb6887cd97937e33a71877ad512741e82b2 - Published GitHub release time:
2026-03-23T23:15:50Z - Verification date:
2026-03-24
Duplicate Check
Upon inspection there is no preexisting GHSA for /send.
This is distinct from:
GHSA-r7vr-gr74-94p8- that advisory covered owner-only authorization bypasses for
/configand/debug, not/send.
- that advisory covered owner-only authorization bypasses for
This is the same authorization class, but a different privileged command surface that still lacks the owner check.
In Scope Check
This report is in scope under SECURITY.md because:
- it does not rely on adversarial operators sharing one gateway host or config;
- it does not rely on trusted local state tampering;
SECURITY.md:151-152explicitly says non-owner sender status matters for owner-only tools and commands;/sendis explicitly documented as owner-only, so this is a direct owner-only authorization bypass, not a complaint about normal shared-agent steering.
This is therefore a concrete authorization flaw against a documented product boundary.
Remediation Advice
- Change
/sendto require owner status, not just command authorization. - Reuse the same owner-only rejection pattern already used by privileged command surfaces such as
/config,/debug, and owner-only/pluginswrites. - Add regression coverage for the exact case where:
- a non-owner sender is command-authorized;
/sendmust still be rejected unlesssenderIsOwner === true.
- Verify that the owner can still use
/send on|off|inheritnormally.
Affected versions
npm
| Package | Vulnerable | Fixed 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 0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality (vulnerable system)
- None
- Integrity (vulnerable system)
- Low
- Availability (vulnerable system)
- Low
- Confidentiality (subsequent systems)
- None
- Integrity (subsequent systems)
- None
- Availability (subsequent systems)
- None
CVSS 3.1 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Weakness
CWE-285: Improper Authorization
The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
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) 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 you perform access control checks related to your business logic. These checks may be different than the access control checks that you apply 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.
- 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.
CWE-862: Missing Authorization
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
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
Advisories
Packages
Other links
- github.com/openclaw/openclaw/security/advisories/GHSA-39mp-545q-w789
- github.com/openclaw/openclaw/security/advisories/GHSA-vqvg-86cc-cg83
- github.com/openclaw/openclaw/commit/555b2578a8cc6e1b93f717496935ead97bfbed8b
- github.com/openclaw/openclaw/commit/ccfeecb6887cd97937e33a71877ad512741e82b2
- github.com/openclaw/openclaw/commit/ea018a68ccb92dbc735bc1df9880d5c95c63ca35
- vulncheck.com/advisories/openclaw-missing-authorization-in-send-and-allowlist-chat…
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why 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 |
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