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.
https://github.com/openclaw/openclaw/security/advisories/GHSA-m866-6qv5-p2fg
Published: 2026-04-23
Updated: 2026-04-23
Base Score: 4.5
Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:C/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Severity: Medium
Base Score: 5.8
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
Severity: Medium