GHSA-2rqg-gjgv-84jm

Suggest an improvement
Source
https://github.com/advisories/GHSA-2rqg-gjgv-84jm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2rqg-gjgv-84jm/GHSA-2rqg-gjgv-84jm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2rqg-gjgv-84jm
Aliases
Downstream
Published
2026-03-13T20:55:30Z
Modified
2026-07-08T08:11:51Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OpenClaw: Gateway `agent` calls could override the workspace boundary
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-668"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-13T20:55:30Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.3.11

Database specific

last_known_affected_version_range
"<= 2026.3.8"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2rqg-gjgv-84jm/GHSA-2rqg-gjgv-84jm.json"