Command Injection Vulnerability in OpenClaw Package via Lobster Tool Execution
Summary
GHSA-7fcc-cw49-xm78: OpenClaw has command injection via Windows shell fallback in Lobster tool execution. Affects openclaw versions < 2026.2.19. Fixed in 2026.2.19. 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 tool designed for executing various extensions and scripts within a user-friendly interface. It leverages Node.js and npm for package management, allowing developers to extend its functionality through plugins. The Lobster extension is one such tool that facilitates the execution of commands. However, a recent vulnerability has been identified that exposes users to command injection risks when using the Lobster tool on Windows systems.
Vulnerability Detail
The vulnerability arises from the Lobster extension's reliance on a Windows shell fallback mechanism (shell: true) when subprocess launches fail due to errors like EINVAL or ENOENT. This fallback allows shell metacharacters in command arguments to be interpreted by the shell, leading to potential command injection attacks. An attacker could exploit this flaw to execute arbitrary commands on the host system, posing significant security risks.
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.19
This is the first release that contains the fix.
npm install openclaw@2026.2.19
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can avoid using the Lobster tool until they have updated to the patched version. Additionally, users should sanitize any input that may be passed to the Lobster tool to mitigate the risk of command injection.
Conclusion
The command injection vulnerability in the OpenClaw package via the Lobster tool execution poses significant risks to users, particularly on Windows systems. It is crucial for users to update to the patched version 2026.2.19 to mitigate these risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for openclaw →
FAQ
The vulnerability is a command injection flaw that occurs due to the use of a Windows shell fallback in the Lobster tool execution path.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If exploited, this vulnerability could allow an attacker to execute arbitrary commands on the host system, leading to unauthorized access or data breaches.
Yes, the vulnerability has been patched in version 2026.2.19 of the OpenClaw package.
The CVSS score of this vulnerability is 8.6, indicating a high severity level.
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.