Description
OpenClaw versions prior to 2026.2.12 fail to validate the sessionFile path parameter, allowing authenticated gateway clients to write transcript data to arbitrary locations on the host filesystem. Attackers can supply a sessionFile path outside the sessions directory to create files and append data repeatedly, potentially causing configuration corruption or denial of service.
Problem types
External Control of File Name or Path
Product status
Any version before 2026.2.12
Credits
Tuba Deligoz (@tubadeligoz)
References
github.com/...enclaw/security/advisories/GHSA-64qx-vpxx-mvqf (GitHub Security Advisory (GHSA-64qx-vpxx-mvqf))
github.com/...ommit/4199f9889f0c307b77096a229b9e085b8d856c26 (Patch Commit #1)
github.com/...ommit/25950bcbb8ba4d8cde002557f6e27c219ae4deda (Patch Commit #2)
www.vulncheck.com/...le-write-via-untrusted-sessionfile-path (VulnCheck Advisory: OpenClaw < 2026.2.12 - Arbitrary File Write via Untrusted sessionFile Path)