CVE-2026-35662: OpenClaw leaf subagents can bypass controlScope restrictions to send messages to child sessions
OpenClaw before 2026.3.22 let a leaf subagent use the send action to message child sessions even when its controlScope was narrower than children. A subagent could step outside the control scope it was given. The impact is low integrity and the severity is medium. Upgrade the npm package `openclaw` to 2026.3.22 or later.
Published Mar 26, 2026 · Updated Apr 10, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw lets one agent spawn subagents and control child sessions. Each subagent carries a controlScope that limits what it may control. The send path in src/auto-reply/reply/commands-subagents/action-send.ts did not pass controller context to the authorization check in src/agents/subagent-control.ts. A leaf subagent whose scope was narrower than children could still send messages into child sessions it controlled.
This is a missing authorization check (CWE-285, CWE-862). The attacker is a low-privilege actor with network access to the deployment, for example a subagent steered by a prompt injection. They can inject instructions into a session that the scope setting was meant to keep out of reach. The CVSS vector shows no confidentiality or availability impact and low integrity impact. The real risk depends on what the child session is allowed to do. If a child holds tools or credentials the leaf does not, a message from the leaf can drive them.
The fix makes subagent-control.ts block sends unless the requester owns the target and has controlScope="children".
Who is affected
The npm package openclaw below 2026.3.22. Check with:
npm ls openclawSetups that run subagent hierarchies with narrowed controlScope values are the ones that rely on this boundary.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.3.22
- Fixed in
- 2026.3.22
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.22 or later:
npm install -g openclaw@latestThe fix is commit 7679eb375294941b02214c234aff3948796969d0, present in v2026.3.22, v2026.3.23 and v2026.3.23-2. The advisory gives no workaround.
How to tell if you were hit
The advisory lists no log indicators. Review session history for messages sent into child sessions by subagents whose controlScope was narrower than children, and for child sessions that received instructions from a sibling or leaf agent that does not own them.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Leaf subagents could still use the send action to message controlled child sessions even when their controlScope was narrower than children.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected: < 2026.3.22
- Fixed: >= 2026.3.22
- Latest released tag checked:
v2026.3.23-2(630f1479c44f78484dfa21bb407cbe6f171dac87) - Latest published npm version checked:
2026.3.23-2
Fix Commit(s)
7679eb375294941b02214c234aff3948796969d0
Release Status
The fix shipped in v2026.3.22 and remains present in v2026.3.23 and v2026.3.23-2.
Code-Level Confirmation
- src/auto-reply/reply/commands-subagents/action-send.ts now threads controller context through the send path.
- src/agents/subagent-control.ts now blocks send attempts unless the requester owns the target and has controlScope="children".
OpenClaw thanks @space08 for reporting.
Credited to space08.
Questions
- What is controlScope in OpenClaw?
It is the setting that limits what a subagent may control. This bug let a leaf subagent send to child sessions even when its scope was narrower than children.
- Which version fixes CVE-2026-35662?
OpenClaw 2026.3.22. It is also in 2026.3.23 and 2026.3.23-2.
- How severe is it?
Medium. CVSS 4.0 is 5.3 with low integrity impact only. Low privileges are required and no user interaction.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/security/advisories/GHSA-x2cm-hg9c-mf5w
- https://github.com/openclaw/openclaw/commit/7679eb375294941b02214c234aff3948796969d0
- https://nvd.nist.gov/vuln/detail/CVE-2026-35662
- https://github.com/openclaw/openclaw/commit/630f1479c44f78484dfa21bb407cbe6f171dac87
- https://www.vulncheck.com/advisories/openclaw-missing-controlscope-enforcement-in-send-action
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
