Home

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.

PUBLISHED Reserved 2026-04-20 | Published 2026-04-23 | Updated 2026-04-24 | Assigner VulnCheck




MEDIUM: 5.8CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

MEDIUM: 5.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

Problem types

CWE-184: Incomplete List of Disallowed Inputs

Product status

Default status
unaffected

Any version before 2026.3.28
affected

2026.3.28 (semver)
unaffected

Credits

Nicky (@nicky-cc) reporter

References

github.com/...enclaw/security/advisories/GHSA-m866-6qv5-p2fg (GitHub Security Advisory (GHSA-m866-6qv5-p2fg)) vendor-advisory

www.vulncheck.com/...-missing-environment-variable-blocklist (VulnCheck Advisory: OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist) third-party-advisory

cve.org (CVE-2026-41332)

nvd.nist.gov (CVE-2026-41332)

Download JSON