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

CVE-2026-44997: OpenClaw's ACP child sessions inherit subagent security envelope constraints

mediumCVSS 4.0 5.3GHSA-q3jj-46pq-826r

In OpenClaw 2026.4.21 and earlier, a restricted subagent that started an ACP child session did not pass its limits to the child. Depth, child-count limits, control scope and target-agent restrictions could be lost. Fixed in openclaw 2026.4.22.

Published May 4, 2026 · Updated May 29, 2026 · Analysis Oct 28, 2026

What an attacker can do

OpenClaw lets a subagent run under a security envelope: how deep it can nest, how many children it can have, what it may control and which agents it may target. When such a subagent spawned an ACP child session, the spawn path did not resolve and persist those fields on the child. The child session started without the parent's constraints (CWE-277, insecure inherited permissions).

In practice a subagent that was meant to be boxed in could spawn a child that was not. The child could nest further, create more children than the cap allowed, control things outside the parent's scope or reach agents the parent was barred from. The result is a weaker boundary between agents in a multi-agent setup.

The attacker needs low privileges and a way to drive a restricted subagent, for example through prompt injection into an agent that is allowed to spawn ACP children. The CVSS 4.0 vector rates integrity impact low and no confidentiality or availability impact. The advisory gives no exploit details.

Who is affected

The npm package openclaw at 2026.4.21 and earlier. This concerns setups that use subagents with envelope restrictions and ACP child sessions.

npm ls -g openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
<= 2026.4.21
Fixed in
2026.4.22
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.22:

npm install -g [email protected]

The fix (commit 31160dc) makes ACP spawn resolve and persist the child's envelope fields, enforce maximum depth and active-child caps, and apply the inherited control scope to child ACP sessions. The advisory lists no workaround.

How to tell if you were hit

Review session records for ACP child sessions that exceed the depth or child counts you configured for the parent subagent, or that target agents the parent could not. Compare child control scope against the parent's. Beam records agent shell commands, file access and MCP tool calls, which helps to see what a child session actually did.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

ACP child sessions inherit subagent security envelope constraints.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.4.21
  • Fixed version: 2026.4.22

Impact

A restricted subagent spawning an ACP child session could fail to carry forward subagent-only constraints such as depth, child-count limits, control scope, or target-agent restrictions.

Fix

ACP spawn now resolves and persists child subagent envelope fields, enforces maximum depth and active-child caps, and applies the inherited control scope to child ACP sessions.

Fix Commit(s)

  • 31160dc069b7cc5d833b39c53736a41ad3befda2

Verification

  • The fix commit is contained in the public v2026.4.22 tag.
  • [email protected] is published on npm and the compiled package contains the fix.
  • Focused regression coverage for this path passed before publication.

OpenClaw thanks @zsxsoft, @qclawer, and @KeenSecurityLab for reporting.

Credited to zsxsoft, qclawer, KeenSecurityLab.

Questions

Which OpenClaw version fixes CVE-2026-44997?

2026.4.22. Versions up to and including 2026.4.21 are affected.

What limits were lost?

Depth, child-count limits, control scope and target-agent restrictions of the parent subagent, per the advisory.

Is it exploited in the wild?

No source says so. The advisory reports the issue and the fix with regression coverage only.

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