CVE-2026-22179: OpenClaw has macOS `system.run` allowlist bypass via quoted command substitution
(updated )
In OpenClaw’s macOS node-host path, system.run allowlist parsing in security=allowlist mode failed to reject command substitution tokens when they appeared inside double-quoted shell text.
Because of that gap, payloads like echo "ok $(id)" could be treated as allowlist hits (first executable token echo) while still executing non-allowlisted subcommands through shell substitution.
References
- github.com/advisories/GHSA-9p38-94jf-hgjj
- github.com/openclaw/openclaw
- github.com/openclaw/openclaw/commit/90a378ca3a9ecbf1634cd247f17a35f4612c6ca6
- github.com/openclaw/openclaw/security/advisories/GHSA-9p38-94jf-hgjj
- nvd.nist.gov/vuln/detail/CVE-2026-22179
- www.vulncheck.com/advisories/openclaw-allowlist-bypass-via-command-substitution-in-system-run
Code Behaviors & Features
Detect and mitigate CVE-2026-22179 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →