GitHub Advisory Database
GHSA-7977-c43c-xpwj
OpenClaw is vulnerable to validation bypass through GNU long-option abbreviations in allowlist mode
Details
In OpenClaw before 2026.2.23, tools.exec.safeBins validation for sort could be bypassed via GNU long-option abbreviations (such as --compress-prog) in allowlist mode, leading to approval-free execution paths that were intended to require approval. Only an exact string such as --compress-program was denied.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | openclaw | All versions before 2026.2.23 (fixed in 2026.2.23) |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-3c6h-g97w-fg78
- https://nvd.nist.gov/vuln/detail/CVE-2026-28363
- https://github.com/openclaw/openclaw/commit/3b8e33037ae2e12af7beb56fcf0346f1f8cbde6f
- https://github.com/openclaw/openclaw
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.23