Description
OpenClaw versions prior to 2026.2.22 contain an allowlist bypass vulnerability in the safeBins configuration that allows attackers to invoke external helpers through the compress-program option. When sort is explicitly added to tools.exec.safeBins, remote attackers can bypass intended safe-bin approval constraints by leveraging the compress-program parameter to execute unauthorized external programs.
Problem types
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)
Product status
Any version before 2026.2.22
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-vmqr-rc7x-3446 (GitHub Security Advisory (GHSA-vmqr-rc7x-3446))
github.com/...ommit/57fbbaebca4d34d17549accf6092ae26eb7b605c (Patch Commit)
www.vulncheck.com/...pass-via-sort-configuration-in-safebins (VulnCheck Advisory: OpenClaw < 2026.2.22 - Allowlist Bypass via sort Configuration in safeBins)