What’s Vulnerable › Vulnerabilities

CVE-2026-53842: OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable

Description

OpenClaw before 2026.5.2 contains an environment variable injection vulnerability allowing workspace .env files to influence Python runtime selection through CLOUDSDK_PYTHON during Gmail setup gcloud execution. Attackers with repository access can manipulate the CLOUDSDK_PYTHON variable to execute setup through unintended local Python paths, potentially enabling arbitrary code execution.

Affected products

How to fix

Upgrade to a fixed version: OpenClaw 2026.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-53842 or the next vulnerability affects your stack