Openclaw cli: OpenClaw Has Incomplete Fix for CVE-2026-4039: CLI Backend Environment Variable Injection via Workspace Config (CVE-2026-41384)
Description
OpenClaw CLI versions from 2026.1.29 up to but not including 2026.3.24 contain a high-severity vulnerability (CVE-2026-41384) involving environment variable injection via workspace configuration. This issue is an incomplete fix of a previous vulnerability (CVE-2026-4039) and allows malicious workspace configurations to inject environment variables into the CLI backend runner. The vulnerability is fixed starting with version 2026.3.24.
CVSS v3.1
Score 7.8high
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
CVE-2026-41384 is a high-severity vulnerability in the OpenClaw CLI package where an incomplete fix for a prior issue (CVE-2026-4039) allowed environment variable injection through malicious workspace configurations in the CLI backend runner. The vulnerability enables injection of environment variables before spawning backend processes. The fix involves sanitizing backend environment variables before process spawn and was introduced in version 2026.3.24. Versions from 2026.1.29 up to but excluding 2026.3.24 are affected.
Potential Impact
Successful exploitation of this vulnerability can lead to high impact including confidentiality, integrity, and availability compromise of the affected system due to environment variable injection in the CLI backend. This could allow attackers to influence backend process behavior or execute arbitrary code in the context of the CLI runner.
Mitigation Recommendations
A patch is available and has been released in OpenClaw CLI version 2026.3.24. Users should upgrade to version 2026.3.24 or later to remediate this vulnerability. No additional mitigation steps are indicated beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41384
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac2459e12601ec6a3165d69
Added to database: 10/04/2026, 12:25:02 UTC
Last enriched: 10/04/2026, 12:46:44 UTC
Last updated: 10/04/2026, 16:08:38 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.