Description
OpenClaw versions prior to commit b57b680 contain an approval bypass vulnerability due to inconsistent environment variable normalization between approval and execution paths, allowing attackers to inject attacker-controlled environment variables into execution without approval system validation. Attackers can exploit differing normalization logic to discard non-portable keys during approval processing while accepting them at execution time, bypassing operator review and potentially influencing runtime behavior including execution of attacker-controlled binaries.
Problem types
CWE-184 Incomplete List of Disallowed Inputs
Product status
Any version before b57b680c0c34de907d57f60c38fb358e82aef8f7
Credits
Zhijie Zhang
References
github.com/...enclaw/security/advisories/GHSA-98ch-45wp-ch47 (GitHub Security Advisory (GHSA-h3x4-hc5v-v2gm))
github.com/openclaw/openclaw/pull/59182 (Patch Commit #1)
github.com/...ommit/b57b680c0c34de907d57f60c38fb358e82aef8f7
www.vulncheck.com/...-via-environment-variable-normalization