Openclaw cli: OpenClaw's system.run allowlist bypass via shell line-continuation command substitution (CVE-2026-28460)
Description
OpenClaw CLI versions up to 2026.2.21-2 have a vulnerability in the system.run allowlist mode where shell-wrapper analysis can be bypassed using a shell line-continuation command substitution technique. This allows execution of non-allowlisted subcommands despite the allowlist restrictions. The issue affects deployments using tools.exec.security=allowlist with ask=on-miss or off. A fix is planned in version 2026.2.22. Temporary mitigations include setting tools.exec.ask=always or tools.exec.security=deny.
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
In OpenClaw CLI's system.run allowlist mode, an attacker can bypass shell-wrapper command allowlist analysis by splitting command substitution using a line continuation sequence ($\\ + newline + () inside double quotes). The analysis incorrectly treats the payload as allowlisted (e.g., /bin/echo), but the shell runtime folds the line continuation and executes non-allowlisted subcommands. This allows bypassing approval boundaries for command execution in affected versions (<=2026.2.21-2). The vulnerability is fixed in the planned release 2026.2.22.
Potential Impact
This vulnerability allows attackers to bypass the system.run allowlist security mechanism in OpenClaw CLI, potentially leading to unintended command execution in environments that rely on allowlist enforcement with tools.exec.security=allowlist and ask=on-miss or off. This could undermine security controls intended to restrict command execution to approved commands.
Mitigation Recommendations
A patch is available in the planned release version 2026.2.22; users should upgrade when it is published. As a temporary mitigation, set tools.exec.ask=always or tools.exec.security=deny to prevent bypass of the allowlist mechanism until the patch is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-28460
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
Threat ID: 6ac245c712601ec6a3167f09
Added to database: 10/04/2026, 12:25:43 UTC
Last enriched: 10/04/2026, 13:10:08 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 2
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.