GHSA-7xmq-g46g-f8pv

Suggest an improvement
Source
https://github.com/advisories/GHSA-7xmq-g46g-f8pv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7xmq-g46g-f8pv/GHSA-7xmq-g46g-f8pv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7xmq-g46g-f8pv
Downstream
Published
2026-03-02T21:55:47Z
Modified
2026-03-04T15:14:01Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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
Database specific
{
    "cwe_ids":  [
        "CWE-367",
        "CWE-59"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-02T21:55:47Z",
    "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.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7xmq-g46g-f8pv/GHSA-7xmq-g46g-f8pv.json"