Vulnerability in Openclaw
CVE-2026-53842
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.001, 2.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openclaw — versions 0, 2026.5.2
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-fq9j-vw4w-fr6v) (vendor-advisory, Vendor Advisory)
- VulnCheck Advisory: OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable (Third Party Advisory, third-party-advisory)