Arbitrary File Write Vulnerability in OpenClaw: Session Transcript Path Exposure

openclaw Updated 17 Feb 2026

Summary

17/02/2026
HIGH
Yes i
High
7.1

GHSA-64qx-vpxx-mvqf: OpenClaw has an arbitrary transcript path file write via gateway sessionFile. Affects openclaw versions < 2026.2.12. Fixed in 2026.2.12. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenClaw is an open-source framework designed for building web applications with a focus on real-time communication and session management. It allows developers to create interactive applications by managing user sessions and facilitating data exchange. However, prior to version 2026.2.12, OpenClaw had a significant security flaw that allowed authenticated users to manipulate the session transcript file path, potentially leading to unauthorized file writes on the server.

Vulnerability Detail

The vulnerability arises from the gateway's acceptance of untrusted input for the 'sessionFile' path, which is used to resolve the session transcript file. This flaw allows authenticated clients to specify arbitrary paths outside the designated sessions directory, leading to potential file creation and data corruption. Although this vulnerability does not directly enable remote code execution, it poses risks such as configuration corruption and denial of service, depending on the server's filesystem permissions.

How To Fix

Latest published version: 2026.10.6 as of 22 Oct 2026

npm install openclaw@2026.10.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2026.2.12

This is the first release that contains the fix.

npm install openclaw@2026.2.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, ensure that your server's filesystem permissions are configured to restrict write access to sensitive directories. Additionally, validate and sanitize any user input related to file paths to mitigate the risk of exploitation until the package is updated.

Conclusion

The arbitrary file write vulnerability in OpenClaw poses significant risks to applications using the framework. It is crucial for developers to update to the latest version to mitigate these risks and ensure the security of their applications. Implementing best practices for input validation and filesystem permissions can further enhance security until updates are applied.

See every vulnerability recorded for openclaw →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 7.1, indicating a high level of severity.

No, this vulnerability does not directly provide a path for remote code execution, but it can lead to other serious issues like data corruption.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If an immediate update is not possible, implement strict input validation and adjust filesystem permissions to limit write access to sensitive directories.

The vulnerability was reported by a user identified as @tubadeligoz.

Related vulnerabilities

Recent vulnerabilities recorded for openclaw.

How To Fix

Latest published version: 2026.10.6 as of 22 Oct 2026

npm install openclaw@2026.10.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2026.2.12

This is the first release that contains the fix.

npm install openclaw@2026.2.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback