Description
OpenClaw before 2026.4.2 contains an arbitrary directory deletion vulnerability in mirror mode that allows attackers to delete remote directories by influencing remoteWorkspaceDir and remoteAgentWorkspaceDir configuration values. Attackers can manipulate these OpenShell config paths to cause mirror sync operations to delete unintended remote directory contents and replace them with uploaded workspace data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.2 | 2026.4.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.2 | 2026.4.2 | GHSA-m34q-h93w-vg5x |
Advisories 1
- WID-SEC-2026-0980 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 28, 2026
References
- GitHub Security Advisory (GHSA-m34q-h93w-vg5x) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.2 - Arbitrary Remote Directory Deletion via Mis-scoped Mirror Mode Paths third-party-advisory