Description
OpenClaw version 2026.2.22-2 prior to 2026.2.23 tools.exec.safeBins validation for sort command fails to properly validate GNU long-option abbreviations, allowing attackers to bypass denied-flag checks via abbreviated options. Remote attackers can execute sort commands with abbreviated long options to skip approval requirements in allowlist mode.
Problem types
Product status
2026.2.22-2 (semver) before 2026.2.23
2026.2.23
Credits
@tdjackey
References
github.com/...enclaw/security/advisories/GHSA-3c6h-g97w-fg78 (GitHub Security Advisory (GHSA-3c6h-g97w-fg78))
github.com/...ommit/3b8e33037ae2e12af7beb56fcf0346f1f8cbde6f (Patch Commit)
www.vulncheck.com/...ption-abbreviation-in-toolsexecsafebins (VulnCheck Advisory: OpenClaw 2026.2.22-2 < 2026.2.23 - Allowlist Bypass via sort Long-Option Abbreviation in tools.exec.safeBins)