GitHub Advisoryadvisory · npm
GHSA-fqcm-97m6-w7rm OpenClaw: Message action attachment hydration bypasses local media root checks when sandboxRoot is unset
HIGH
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
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-fqcm-97m6-w7rm web
- https://nvd.nist.gov/vuln/detail/CVE-2026-27522 advisory
- https://github.com/openclaw/openclaw/commit/270ab03e379f9653e15f7033c9830399b66b7e51 web
- https://github.com/openclaw/openclaw package
- https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-sendattachment-and-setgroupicon-message-actions web