Description
OpenClaw versions prior to 2026.2.24 contain a policy bypass vulnerability in the safeBins allowlist evaluation that trusts static default directories including writable package-manager paths like /opt/homebrew/bin and /usr/local/bin. An attacker with write access to these trusted directories can place a malicious binary with the same name as an allowed executable to achieve arbitrary command execution within the OpenClaw runtime context.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.24 | 2026.2.24 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.24 | 2026.2.24 | GHSA-5gj7-jf77-q2q2 |
Advisories 1
- WID-SEC-2026-0501 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 23, 2026
References
- GitHub Security Advisory (GHSA-5gj7-jf77-q2q2) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.24 - Binary Hijacking via Static Default Trusted Directories in safeBins third-party-advisory