Openclaw cli: OpenClaw: Host exec environment sanitization misses package, registry, Docker, compiler, and TLS override variables (CVE-2026-41369)
Description
OpenClaw CLI versions before 2026.3.31 have a vulnerability where the host execution environment sanitization does not properly exclude certain environment variables related to package, registry, Docker, compiler, and TLS overrides. This issue can lead to unintended exposure of sensitive environment variables during execution. The vulnerability has a medium severity rating and is fixed in version 2026.3.31.
CVSS v3.1
Score 6.5medium
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
The OpenClaw CLI package versions from 2026.1.29 up to but not including 2026.3.31 fail to sanitize the host execution environment correctly, missing several environment variable families such as package, registry, Docker, compiler, and TLS override variables. This incomplete sanitization can result in sensitive environment variables being exposed during host execution. The issue was identified and fixed in commit eb8de6715f02949c21c4e895fffc8a6dcb00975c, released in version 2026.3.31.
Potential Impact
The vulnerability allows exposure of sensitive environment variables related to package management, registries, Docker, compilers, and TLS overrides during host execution. This could potentially lead to information disclosure impacting confidentiality, but does not affect integrity or availability. The CVSS 3.1 score is 6.5 (medium severity), reflecting network attack vector, low attack complexity, and requiring low privileges without user interaction.
Mitigation Recommendations
Users should upgrade OpenClaw CLI to version 2026.3.31 or later, where the host execution environment sanitization properly excludes the affected environment variable families. Applying this official fix fully mitigates the vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-openclaw-cli-CVE-2026-41369
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6ac245a012601ec6a3165d79
Added to database: 10/04/2026, 12:25:04 UTC
Last enriched: 10/04/2026, 12:47:59 UTC
Last updated: 10/04/2026, 16:08:38 UTC
Views: 3
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.