CVE-2026-53842 OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable
HighCVSS 7.0
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.5.2 | 2026.5.2 | Fixed |
| npm openclaw(npm) | < 2026.5.2 | 2026.5.2 | Fixed |
| openclaw | < 2026.5.2; = 2026.5.2-beta1; = 2026.5.2-beta2; = 2026.5.2-beta3 | 2026.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.5.2 | 2026.5.2 |
| npm openclaw(npm) | < 2026.5.2 | 2026.5.2 |
| openclaw | < 2026.5.2 | 2026.5.2 |
| openclaw | = 2026.5.2-beta1 | No fix listed |
| openclaw | = 2026.5.2-beta2 | No fix listed |
| openclaw | = 2026.5.2-beta3 | No fix listed |
References
- GitHub Security Advisory (GHSA-fq9j-vw4w-fr6v) vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product