CVE-2026-41332 PUBLISHED

OpenClaw < 2026.3.28 - Code Execution via Missing Environment Variable Blocklist

Assigner: VulnCheck
Reserved: 20.04.2026 Published: 23.04.2026 Updated: 23.04.2026

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.

Metrics

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

Product Status

Vendor OpenClaw
Product OpenClaw
Versions Default: unaffected
  • affected from 0 to 2026.3.28 (excl.)
  • Version 2026.3.28 is unaffected

Credits

  • Nicky (@nicky-cc) reporter

References

Problem Types

  • CWE-184: Incomplete List of Disallowed Inputs CWE