Description
OpenClaw versions prior to 2026.2.25 contain a time-of-check-time-of-use vulnerability in approval-bound system.run execution where the cwd parameter is validated at approval time but resolved at execution time. Attackers can retarget a symlinked cwd between approval and execution to bypass command execution restrictions and execute arbitrary commands on node hosts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.25 | 2026.2.25 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.25 | 2026.2.25 | GHSA-mwcg-wfq3-4gjc |
Advisories 1
- WID-SEC-2026-0542 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 12, 2026
References
- GitHub Security Advisory (GHSA-mwcg-wfq3-4gjc) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.25 - Time-of-Check-Time-of-Use via Mutable Symlink in system.run cwd Parameter third-party-advisory