GitHub Advisoryadvisory · npm

GHSA-fqcm-97m6-w7rm OpenClaw: Message action attachment hydration bypasses local media root checks when sandboxRoot is unset

HIGH Published 2026-03-02 Modified 2026-03-18 Official page ↗
Aliases
CVE-2026-27522
Ecosystem
npm
Packages
openclaw
Severity
High
CVSS vector
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
Weaknesses
CWE-200, CWE-22
Reviewed
2026-03-02

Affected packages

• npm openclaw: < 2026.2.24 → fixed in 2026.2.24

Description

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.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.

Related

Alias · CVE (1)

  • CVE-2026-27522 OpenClaw versions prior to 2026.2.24 contain a local media root bypass vulnerability in sendAttachment and setGroupIcon message actions… vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References