High severity7.1NVD Advisory· Published Jun 16, 2026· Updated Jun 18, 2026
CVE-2026-53842
CVE-2026-53842
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.5.2 | 2026.5.2 |
Affected products
6<2026.5.2+ 5 more
- (no CPE)range: <2026.5.2
- cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*range: <2026.5.2
- cpe:2.3:a:openclaw:openclaw:2026.5.2:beta1:*:*:*:node.js:*:*
- cpe:2.3:a:openclaw:openclaw:2026.5.2:beta2:*:*:*:node.js:*:*
- cpe:2.3:a:openclaw:openclaw:2026.5.2:beta3:*:*:*:node.js:*:*
- (no CPE)range: <2026.5.2
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-fq9j-vw4w-fr6vghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-fq9j-vw4w-fr6vnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-53842ghsaADVISORY
- www.vulncheck.com/advisories/openclaw-arbitrary-python-runtime-execution-via-cloudsdk-python-environment-variablenvdThird Party AdvisoryWEB
News mentions
1- OpenClaw: 25 CVEs Disclosed in a Single Day — Allowlist Bypasses and Privilege Escalation DominateVypr Intelligence · Jun 16, 2026