Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-27522: OpenClaw: Message action attachment hydration bypasses local media root checks when sandboxRoot is unset

highCVSS 4.0 8.7GHSA-fqcm-97m6-w7rm

Impact sendAttachment and setGroupIcon message actions could hydrate media from local absolute paths when sandboxRoot was unset, bypassing intended local media root checks. This could allow reads of arbitrary host files reachable by the runtime user when an authorized message-action path was triggered.

Published Mar 2, 2026 · Updated Mar 18, 2026

Affected packages

openclaw

Ecosystem
npm
Affected
<= 2026.2.23
Fixed in
2026.2.24
Check
npm ls openclaw

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

sendAttachment and setGroupIcon message actions could hydrate media from local absolute paths when sandboxRoot was unset, bypassing intended local media root checks. This could allow reads of arbitrary host files reachable by the runtime user when an authorized message-action path was triggered.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version at triage: 2026.2.23
  • Vulnerable: <= 2026.2.23
  • Patched in code: >= 2026.2.24 (planned next release)

Remediation

Upgrade to openclaw 2026.2.24 or later once published.

Fix Commit(s)

  • 270ab03e379f9653e15f7033c9830399b66b7e51

Release Process Note

patched_versions is pre-set to the planned next release (>= 2026.2.24). Once that npm release is published, this advisory can be published without further field edits.

OpenClaw thanks @GCXWLP for reporting.

Publication Update (2026-02-25)

[email protected] is published on npm and contains the fix commit(s) listed above. This advisory now marks >= 2026.2.24 as patched.

Credited to GCXWLP.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries