GitHub Advisoryadvisory · npm

GHSA-2rqg-gjgv-84jm OpenClaw: Gateway `agent` calls could override the workspace boundary

HIGH Published 2026-03-13 Modified 2026-03-13 Official page ↗
Ecosystem
npm
Packages
openclaw
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-668
Reviewed
2026-03-13

Affected packages

• npm openclaw: < 2026.3.11 → fixed in 2026.3.11

Description

Summary The public gateway `agent` RPC allowed an authenticated operator with `operator.write` to supply attacker-controlled `spawnedBy` and `workspaceDir` values. That let the caller re-root the agent run outside its configured workspace boundary. Impact A non-owner operator could escape the intended workspace boundary and run normal file and exec tools from an arbitrary process-accessible directory. Affected versions `openclaw` `<= 2026.3.8` Patch Fixed in `openclaw` `2026.3.11` and included in later releases such as `2026.3.12`. The gateway now enforces the configured workspace boundary for agent runs regardless of caller-supplied overrides.

Related

Weakness · CWE (1)

  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References