Openclaw cli: OpenClaw: Message action attachment hydration bypasses local media root checks when sandboxRoot is unset (CVE-2026-27522)
Description
OpenClaw CLI versions before 2026.2.24 contain a vulnerability where message actions 'sendAttachment' and 'setGroupIcon' can hydrate media from local absolute paths if the 'sandboxRoot' is unset. This bypasses local media root checks and could allow reading arbitrary files accessible to the runtime user. The issue is fixed in version 2026.2.24 and later.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw CLI package (npm) versions up to 2026.2.23 have a vulnerability identified as CVE-2026-27522. When the 'sandboxRoot' configuration is unset, the message actions 'sendAttachment' and 'setGroupIcon' can hydrate media from local absolute paths, bypassing intended local media root restrictions. This flaw allows an attacker who can trigger authorized message-action paths to read arbitrary files accessible by the runtime user on the host system. The vulnerability is patched starting with version 2026.2.24, which includes the fix commit 270ab03e379f9653e15f7033c9830399b66b7e51.
Potential Impact
An attacker able to trigger the vulnerable message actions can read arbitrary files on the host system that are accessible by the runtime user. This could lead to unauthorized disclosure of sensitive information stored locally. There is no indication of privilege escalation or remote code execution. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade the OpenClaw CLI package to version 2026.2.24 or later, which contains the official fix for this vulnerability. Until the upgrade is applied, avoid triggering the 'sendAttachment' and 'setGroupIcon' message actions when 'sandboxRoot' is unset.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-27522
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
Threat ID: 6ac245cc12601ec6a3167f33
Added to database: 10/04/2026, 12:25:48 UTC
Last enriched: 10/04/2026, 13:12:24 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.