Openclaw cli: OpenClaw: Workspace `.env` can override the bundled plugin trust root (CVE-2026-41396)
Description
The OpenClaw CLI has a vulnerability where a workspace .env file can override the bundled plugin trust root. This issue affects versions from 2026.1.29 up to but not including 2026.3.31. The vulnerability is rated high severity with a CVSS score of 7.8. A fix is available starting from version 2026.3.31.
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
OpenClaw CLI versions >=2026.1.29 and <2026.3.31 allow a workspace .env file to override the OPENCLAW_BUNDLED_PLUGINS_DIR environment variable, which controls the bundled plugin trust root. This could lead to a high-impact compromise if an attacker controls the workspace loading environment. The issue was fixed in version 2026.3.31 by commit 330a9f98cb29c79b1c16a2117e03d6276a0d6289.
Potential Impact
An attacker with the ability to control the workspace environment can override the plugin trust root, potentially leading to full confidentiality, integrity, and availability compromise of the OpenClaw CLI environment. However, exploitation requires attacker-controlled workspace loading, limiting the scope of the threat.
Mitigation Recommendations
Upgrade OpenClaw CLI to version 2026.3.31 or later, which contains the official fix for this vulnerability. Avoid using vulnerable versions (>=2026.1.29 and <2026.3.31).
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41396
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac2459c12601ec6a3165d5e
Added to database: 10/04/2026, 12:25:00 UTC
Last enriched: 10/04/2026, 12:45: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.