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

CVE-2026-35620: OpenClaw: Non-owner command-authorized sender can change the owner-only `/send` session delivery policy

mediumCVSS 4.0 5.3 · 3.1 5.4GHSA-39mp-545q-w789

In OpenClaw before 2026.3.24, any sender allowed to run commands could use the owner-only /send on|off|inherit command to change a session's delivery policy. A lower-trust participant could silence replies in a chat or turn them back on after the owner disabled them. Upgrade to 2026.3.24.

Published Mar 30, 2026 · Updated Apr 10, 2026 · Analysis Oct 31, 2026

What an attacker can do

OpenClaw documents /send on|off|inherit as owner-only (docs/tools/slash-commands.md). The handler, handleSendPolicyCommand in src/auto-reply/reply/commands-session.ts, checked only params.command.isAuthorizedSender. Command authorization is computed apart from owner status in src/auto-reply/command-auth.ts, so a sender can be authorized to run commands while senderIsOwner is false, for example through commands.allowFrom with a separate commands.ownerAllowFrom.

Such a sender who sends /send off writes sendPolicy on the session entry and the handler persists it. /send inherit deletes the override. The effects: replies in that session stop, replies resume after the owner turned them off on purpose, or the owner's override disappears (CWE-285).

The advisory rates the impact medium. It is a persistent change to one session's delivery state, with no code execution, sandbox escape or cross-host effect. The attacker must already be a command-authorized participant in the channel. The risk is mostly to group chats where several people may run commands but only the owner should control delivery.

Who is affected

The openclaw npm package before 2026.3.24. The advisory verified release v2026.3.23 and traces the handler back to v2026.1.14-1 as the earliest affected release it found. Exposure needs a channel where non-owner senders may run commands. Check your version and config:

npm ls openclaw
openclaw --version

Look for commands.allowFrom entries that differ from commands.ownerAllowFrom.

openclaw

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's remediation makes /send require owner status, with the same owner-only rejection already used by /config, /debug and /plugins writes, and adds a test where a command-authorized non-owner is rejected. The related allowlist advisory GHSA-vqvg-86cc-cg83 is referenced as the same family. No workaround is given. Until you upgrade, restrict commands.allowFrom to trusted senders.

How to tell if you were hit

Check session entries for a sendPolicy value that the owner did not set, and review chat history for /send off, /send on or /send inherit messages from senders who are not the owner. A session that stopped replying without an owner action is a sign. Compare commands.allowFrom with commands.ownerAllowFrom to see who could have sent it.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

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-239
  • handleSendPolicyCommand(...) checks only params.command.isAuthorizedSender.
  • when true, it mutates params.sessionEntry.sendPolicy and persists the session entry.

Authorization behavior that makes this reachable:

  • src/auto-reply/command-auth.ts:401-407
  • senderIsOwner is computed separately from general command authorization.
  • src/auto-reply/command-auth.ts:420-429
  • command authorization can succeed even when senderIsOwner === false.
  • 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|inherit is documented as owner-only.
  • docs/concepts/session-tool.md:156
  • sendPolicy is documented as settable via sessions.patch or owner-only /send on|off|inherit.

Related privilege model:

  • src/gateway/method-scopes.ts:131-133
  • sessions.patch is 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

  1. Check out the shipped release tag v2026.3.23.
  2. Configure a channel where:
  3. a non-owner sender is allowed to run commands, for example through commands.allowFrom;
  4. the owner identity is distinct, for example via commands.ownerAllowFrom.
  5. Start or reuse a session with a live sessionEntry and sessionStore.
  6. Send /send off as the non-owner but command-authorized sender.
  7. Confirm the resolved command context has:
  8. isAuthorizedSender === true
  9. senderIsOwner === false
  10. 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 inherit deletes sessionEntry.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 /config and /debug, not /send.

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-152 explicitly says non-owner sender status matters for owner-only tools and commands;
  • /send is 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

  1. Change /send to require owner status, not just command authorization.
  2. Reuse the same owner-only rejection pattern already used by privileged command surfaces such as /config, /debug, and owner-only /plugins writes.
  3. Add regression coverage for the exact case where:
  4. a non-owner sender is command-authorized;
  5. /send must still be rejected unless senderIsOwner === true.
  6. Verify that the owner can still use /send on|off|inherit normally.

Credited to tdjackey.

Questions

What does /send change?

It sets sendPolicy for the current session: on, off or inherit. Off suppresses future replies in that chat. The setting is stored with the session entry.

Who can exploit CVE-2026-35620?

A sender who is command-authorized but not the owner. Plain chat participants without command permission are not able to run /send.

Is this the same as the /config and /debug issue?

It is the same class of owner-check bug on a different command. The advisory says the earlier GHSA-r7vr-gr74-94p8 covered /config and /debug, not /send.

References

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

More OpenClaw vulnerabilities

All OpenClaw entries