Security mailing lists by PureSourceCode

GHSA-7xmq-g46g-f8pv

HIGH

OpenClaw: Sandbox media TOCTOU could read files outside sandbox root

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
Published
2 Mar 2026
Last modified
4 Mar 2026
Weakness
CWE-367CWE-59
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm openclaw < 2026.3.1 2026.3.1

References

History

  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.