Advisory

GHSA-7xmq-g46g-f8pv

Also known as: None

Summary

OpenClaw: Sandbox media TOCTOU could read files outside sandbox root

Details

Summary
Sandbox media handling had a time-of-check/time-of-use gap: media paths could be validated first and read later through a separate path. A symlink retarget between those steps could cause reads outside sandboxRoot.

Impact
Affected versions could permit host file reads outside the intended sandbox root in media attachment/image flows.

Fix
Media reads now use consolidated root-scoped, boundary-safe read paths at use time, removing check/use drift across call sites.

Affected and Patched Versions

  • Affected: <= 2026.2.26
  • Patched: 2026.3.1

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-02 21:55 UTC
Modified
2026-03-04 15:14 UTC

Affected packages and fixes

openclaw

npm · All systems

Affected

  • introduced 0, fixed 2026.3.1 (semver)

Fixed versions

2026.3.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences