Vulnerability · Published Apr 23, 2026 · Assigned by VulnCheck
CVE-2026-41332OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist
Medium 5.3
In plain English
A medium-severity security flaw in OpenClaw from OpenClaw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OpenClaw before 2026.3.28 contains an environment variable sanitization vulnerability where GIT_TEMPLATE_DIR and AWS_CONFIG_FILE are not blocked in the host-env blocklist. Attackers can exploit approved exec requests to redirect git or AWS CLI behavior through attacker-controlled configuration files to execute untrusted code or load malicious credentials.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | openclaw | 2026.3.28 | GHSA-m866-6qv5-p2fg |
Affected products (as reported)
Weakness: CWE-184 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
References
- GitHub Security Advisory (GHSA-m866-6qv5-p2fg) vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist third-party-advisory