Description
OpenClaw versions prior to 2026.2.12 construct transcript file paths using unsanitized sessionId parameters and sessionFile paths without enforcing directory containment. Authenticated attackers can exploit path traversal sequences like ../../etc/passwd in sessionId or sessionFile parameters to read or write arbitrary files outside the agent sessions directory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.12 | 2026.2.12 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.12 | 2026.2.12 | GHSA-5xfq-5mr7-426q |
Advisories 1
- WID-SEC-2026-0424 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 5, 2026
References
- GitHub Security Advisory (GHSA-5xfq-5mr7-426q) vendor-advisory
- Patch Commit patch
- Hardening Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.12 - Path Traversal via Unsanitized sessionId and sessionFile Parameters third-party-advisory