Home

Description

OpenClaw versions prior to 2026.2.22 contain an allowlist bypass vulnerability in system.run that allows attackers to execute non-allowlisted commands by splitting command substitution using shell line-continuation characters. Attackers can bypass security analysis by injecting $\\ followed by a newline and opening parenthesis inside double quotes, causing the shell to fold the line continuation into executable command substitution that circumvents approval boundaries.

PUBLISHED Reserved 2026-02-27 | Published 2026-03-19 | Updated 2026-03-25 | Assigner VulnCheck




MEDIUM: 6.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

HIGH: 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Problem types

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)

Product status

Default status
unaffected

Any version before 2026.2.22
affected

Credits

tdjackey reporter

References

github.com/...enclaw/security/advisories/GHSA-9868-vxmx-w862 (GitHub Security Advisory (GHSA-9868-vxmx-w862)) third-party-advisory

github.com/...ommit/3f0b9dbb36c86e308267924c0d3d4a4e1fc4d1e9 (Patch Commit) patch

www.vulncheck.com/...tion-command-substitution-in-system-run (VulnCheck Advisory: OpenClaw < 2026.2.22 - Allowlist Bypass via Shell Line-Continuation Command Substitution in system.run) third-party-advisory

cve.org (CVE-2026-28460)

nvd.nist.gov (CVE-2026-28460)

Download JSON