Description
OpenClaw versions prior to 2026.2.14 contain an arbitrary file read vulnerability in the exec-approvals allowlist validation that checks pre-expansion argv tokens but executes using real shell expansion. Attackers with authorization or through prompt-injection attacks can exploit safe binaries like head, tail, or grep with glob patterns or environment variables to disclose files readable by the gateway or node process when host execution is enabled in allowlist mode.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.14 | 2026.2.14 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.14 | 2026.2.14 | GHSA-xvhf-x56f-2hpp |
Advisories 1
- WID-SEC-2026-0424 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 5, 2026
References
- GitHub Security Advisory (GHSA-xvhf-x56f-2hpp) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.14 - Arbitrary File Read via Shell Expansion in Safe Bins Allowlist third-party-advisory