Critical Path Traversal Vulnerability in OpenClaw Plugin Installation
Summary
GHSA-qrq5-wjgg-rvqw: OpenClaw has a Path Traversal in Plugin Installation. Affects openclaw versions >= 2026.1.20, < 2026.2.1. Fixed in 2026.2.1. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
OpenClaw is an open-source framework designed for building and managing plugins, enabling users to extend its functionality easily. It allows developers to create plugins that can be installed and managed through a simple interface. However, a significant vulnerability exists in the plugin installation process, which could allow malicious actors to exploit the system.
Vulnerability Detail
The vulnerability arises from the way OpenClaw derives the installation path for plugins. Specifically, the plugin installer does not adequately validate the plugin manifest name, allowing a malicious plugin to escape the intended extensions directory. For instance, a plugin with a manifest name like '@malicious/..' can manipulate the installation path to write files to the parent directory of the extensions directory. This can lead to unintended file writes in the OpenClaw state directory, potentially overwriting critical files. On Windows systems, the issue is exacerbated by the failure to sanitize backslashes, allowing deeper traversal attacks.
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.1
This is the first release that contains the fix.
npm install openclaw@2026.2.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, avoid installing untrusted plugins until the package is updated. If you must install a plugin, ensure it comes from a trusted source and verify its manifest name to prevent potential path traversal attacks.
Conclusion
The path traversal vulnerability in OpenClaw's plugin installation process poses a significant risk to users who install untrusted plugins. It is crucial to update to the patched version to mitigate this risk. Users should also consider using tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for openclaw →
FAQ
The CVSS score of this vulnerability is 9.3, indicating a critical level of severity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup at Vulert Scanner.
If exploited, this vulnerability can lead to unauthorized file writes outside the extensions directory, potentially compromising the integrity of the OpenClaw state directory.
Yes, versions 2026.2.1 and later are safe from this vulnerability. Ensure you update to at least this version.
If an immediate update is not possible, refrain from installing any untrusted plugins and monitor your system for any unusual activity.
References
Related vulnerabilities
Recent vulnerabilities recorded for openclaw.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.