highCVSS 7.5Vulnerability

GHSA-mj4p-rc52-m843

## Summary In affected versions of `openclaw`, sandbox fs-bridge writes validated the destination before commit, but temporary file creation and population were not pinned to a verified parent directory. A raced parent-path alias change could cause the staged temp file to be created outside the intended writable mount before the final guarded replace step. ## Impact This is a sandbox boundary bypass affecting integrity and availability within the writable mount scope. Attacker-controlled bytes could be written outside the intended validated path before the final guarded step ran. ## Affected Packages and Versions - Package: `openclaw` (npm) - Affected versions: `<= 2026.3.8` - Fixed in: `2026.3.11` ## Technical Details The older staging flow created and wrote the temporary file using target-directory shell path operations before the final replace step revalidated the destination. That meant the last guard protected only the final rename, not the earlier temp-file materialization path. ## Fix OpenClaw now resolves a pinned mount root plus relative parent path, creates the temporary file inside the verified parent directory, and performs the final atomic replace from that pinned directory context. The fix shipped in `[email protected]`. ## Workarounds Upgrade to `2026.3.11` or later.

Properties

ghsa_id
GHSA-mj4p-rc52-m843
severity
high
summary
OpenClaw: Sandbox staged writes could escape the verified parent directory before commit
cvss_score
7.5
cve_id
GHSA-mj4p-rc52-m843
cvss_vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H
is_ghsa_only
true
ghsa_published
2026-03-13T15:48:16Z
source_url
https://github.com/advisories/GHSA-mj4p-rc52-m843
ghsa_updated
2026-03-13T15:48:17Z

Related Entities (4)

AFFECTS (1)

[Software]npm/OpenClaw

HAS_WEAKNESS (2)

[Weakness]Time-of-check Time-of-use (TOCTOU) Race Condition
[Weakness]Improper Link Resolution Before File Access ('Link Following')

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-mj4p-rc52-m843 (CVSS 7.5) — Ninja Signal Threat Intelligence | Ninja Signal