High-Risk Interpreter Variable Override Vulnerability in OpenClaw

openclaw Updated 11 May 2026

Summary

06/05/2026
HIGH
Yes i
High
8.8

GHSA-xrgf-r9gr-jjjf: Duplicate Advisory: OpenClaw: Exec environment denylist missed high-risk interpreter startup variables. Affects openclaw versions < 2026.4.10. Fixed in 2026.4.10. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

OpenClaw is an open-source package designed for executing commands in a controlled environment. It provides a framework for managing execution policies and environment variables. However, prior to version 2026.4.10, OpenClaw had a vulnerability in its exec environment policy that allowed attackers to manipulate high-risk interpreter startup variables, potentially leading to unauthorized command execution or network access.

Vulnerability Detail

The vulnerability in OpenClaw arises from an insufficient denylist for environment variables in its execution policy. This flaw allows operators to override critical interpreter startup variables such as VIMINIT, EXINIT, LUA_INIT, and HOSTALIASES. Attackers can exploit this vulnerability by setting these variables to malicious values, which can alter the behavior of the application or facilitate unauthorized access to network resources. The potential ramifications include data leakage, unauthorized command execution, and disruption of service.

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.4.10

This is the first release that contains the fix.

npm install openclaw@2026.4.10

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

Workaround

As a temporary workaround, you can manually restrict the use of high-risk interpreter startup variables in your environment by unsetting them before executing OpenClaw commands. For example, you can run the following commands in your terminal: unset VIMINIT; unset EXINIT; unset LUA_INIT; unset HOSTALIASES. However, this is not a permanent solution and updating the package is recommended.

Conclusion

The OpenClaw package has a significant vulnerability related to its exec environment policy, allowing for the manipulation of critical interpreter startup variables. It is crucial to update to version 2026.4.10 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for openclaw →

Share this vulnerability

FAQ

The vulnerability has a CVSS score of 8.8, indicating a high level of risk.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized command execution, data leakage, and disruption of service.

Yes, Vulert provides a service that monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.

If immediate updates are not possible, ensure to unset the high-risk environment variables as a temporary workaround until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for openclaw.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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.4.10

This is the first release that contains the fix.

npm install openclaw@2026.4.10

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.