Environment Variable Injection Vulnerability in OpenClaw by OpenClaw
CVE-2026-53842
7HIGH
What is CVE-2026-53842?
OpenClaw prior to version 2026.5.2 contains a security vulnerability that allows environment variable injection through the CLOUDSDK_PYTHON variable. This incident can occur during the setup execution for Gmail via gcloud. If attackers gain access to specific repository files, they can manipulate the configuration to redirect Python runtime commands to unexpected local paths, which may lead to the execution of arbitrary code. This loophole underscores the importance of securing environment configurations against unauthorized modifications.
Affected Version(s)
OpenClaw 0 < 2026.5.2
OpenClaw 2026.5.2
