GHSA-7xmq-g46g-f8pv OpenClaw: Sandbox media TOCTOU could read files outside sandbox root

Not scored Published

An attacker can read files outside the sandbox root via a race condition in media handling, affecting OpenClaw users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-7xmq-g46g-f8pv?

GHSA-7xmq-g46g-f8pv is a path traversal vulnerability in openclaw, published on 2 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Which versions are affected by GHSA-7xmq-g46g-f8pv?

2 open source packages ship an affected version, including openclaw.

PackageAffectedFixed in
openclaw npmAll versions2026.3.1
openclaw npmAll versions2026.3.1

How do I fix GHSA-7xmq-g46g-f8pv?

Upgrade openclaw to 2026.3.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is GHSA-7xmq-g46g-f8pv being exploited?

There is no known exploitation of GHSA-7xmq-g46g-f8pv in the wild and no public exploit code.

Sources

Is GHSA-7xmq-g46g-f8pv in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free