Description
OpenClaw versions 2026.1.21 prior to 2026.2.19 contain a path hijacking vulnerability in tools.exec.safeBins that allows attackers to bypass allowlist checks by controlling process PATH resolution. Attackers who can influence the gateway process PATH or launch environment can execute trojan binaries with allowlisted names, such as jq, circumventing executable validation controls.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | 2026.1.21 – < 2026.2.19 | 2026.2.19 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | >= 2026.1.21, < 2026.2.19 | 2026.2.19 | GHSA-g75x-8qqm-2vxp |
Advisories 1
- WID-SEC-2026-0586 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 24, 2026
References
- GitHub Security Advisory (GHSA-g75x-8qqm-2vxp) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw 2026.1.21 < 2026.2.19 - PATH Hijacking Bypass in tools.exec.safeBins Allowlist Validation third-party-advisory