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

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-16T18:04:54.750Z
- Modified: 2026-06-18T13:26:30.032Z
- Also known as: GHSA-fq9j-vw4w-fr6v
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.5.2; 2026.5.2 (not affected: 2026.5.2)
- openclaw (npm): before 2026.5.2

## Every score

- VulnCheck: CVSS:4.0 7.0 High `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-fq9j-vw4w-fr6v> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openclaw-arbitrary-python-runtime-execution-via-cloudsdk-python-environment-variable> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53842> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-53842](https://www.cve.org/CVERecord?id=CVE-2026-53842), CVE Terms of Use, modified 2026-06-18
- GitHub Advisory Database: [GHSA-fq9j-vw4w-fr6v](https://github.com/advisories/GHSA-fq9j-vw4w-fr6v), CC-BY-4.0, modified 2026-06-18
- NVD: [CVE-2026-53842](https://nvd.nist.gov/vuln/detail/CVE-2026-53842), Public domain, modified 2026-06-18

---

Page: https://cve.day/CVE-2026-53842 · Whole record: https://cve.day/CVE-2026-53842.json · Rebuilt by cve.day 2026-11-25T22:59:24.766Z
