Openclaw cli: OpenClaw has an arbitrary transcript path file write via gateway sessionFile (CVE-2026-28459)
Description
OpenClaw CLI versions prior to 2026.2.12 contain a vulnerability where an authenticated gateway client can specify an arbitrary file path for session transcript data. This allows creation and appending of files outside the intended sessions directory, potentially causing configuration corruption or denial of service. The issue does not enable remote code execution by itself. The vulnerability is fixed in version 2026.2.12 and later.
CVSS v3.1
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In OpenClaw versions before 2026.2.12, the gateway component improperly handled the 'sessionFile' parameter, allowing an authenticated client to specify an arbitrary path for session transcript files. This lack of path containment checks permitted writing session transcript data outside the designated sessions directory. Depending on filesystem permissions, this could lead to arbitrary file creation and repeated appends, resulting in configuration corruption or denial of service. The vulnerability does not directly enable remote code execution. The issue was resolved by adding containment checks in the resolveSessionFilePath function, restricting transcript file writes to the sessions directory. The fix is included starting from OpenClaw version 2026.2.12, with recommendation to use 2026.2.13 or later.
Potential Impact
An authenticated gateway client can influence where the gateway writes session transcript data, potentially creating or appending files arbitrarily on the host filesystem. This may cause configuration corruption or denial of service depending on deployment and filesystem permissions. There is no direct remote code execution impact confirmed.
Mitigation Recommendations
A patch is available and should be applied. Upgrade OpenClaw to version 2026.2.12 or later, preferably 2026.2.13 or newer, to ensure the session transcript file path is properly constrained within the sessions directory. No additional mitigation is required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-28459
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245c912601ec6a3167f0e
Added to database: 10/04/2026, 12:25:45 UTC
Last enriched: 10/04/2026, 13:10:13 UTC
Last updated: 10/04/2026, 16:08:37 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.