Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-22179

CVE-2026-22179: OpenClaw has macOS `system.run` allowlist bypass via quoted command substitution

March 3, 2026 (updated March 19, 2026)

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 →

Affected versions

All versions before 2026.2.22

Fixed versions

  • 2026.2.22

Solution

Upgrade to version 2026.2.22 or above.

Impact 6.6 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

npm/openclaw/CVE-2026-22179.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:19:22 +0000.