CVE-2026-41332 OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist
MediumCVSS 5.8
EPSS 0.11%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.3.28 | 2026.3.28 |
| npm openclaw(npm) | <= 2026.3.24 | No fix listed |
| openclaw | < 2026.3.28 | 2026.3.28 |
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
- github.com patch
- github.com