In OpenClaw versions prior to 2026.2.12, the gateway accepted an untrusted sessionFile path when resolving the session transcript file. This could allow an authenticated gateway client to create and append OpenClaw session transcript records at an arbitrary path on the gateway host.
< 2026.2.12>= 2026.2.12 (recommended: >= 2026.2.13)An authenticated gateway client could influence where the gateway writes transcript data by supplying sessionFile outside of the sessions directory. Depending on deployment and filesystem permissions, this may enable arbitrary file creation and repeated appends, leading to configuration corruption and/or denial of service.
This issue does not, by itself, provide a proven remote code execution path.
The transcript path is now constrained to the sessions directory via resolveSessionFilePath(...) containment checks.
Fix commits:
Thanks to @tubadeligoz for the report.
{
"cwe_ids": [
"CWE-23",
"CWE-284",
"CWE-73",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2026-02-17T16:43:51Z",
"nvd_published_at": "2026-03-05T22:16:18Z",
"severity": "HIGH"
}