Home

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.

PUBLISHED Reserved 2026-06-10 | Published 2026-06-16 | Updated 2026-06-16 | Assigner VulnCheck




HIGH: 7.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

HIGH: 7.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Problem types

Untrusted Search Path

Product status

Default status
unaffected

Any version before 2026.5.2
affected

2026.5.2 (semver)
unaffected

Credits

侯海飞 (@feynman-hou) reporter

References

github.com/...enclaw/security/advisories/GHSA-fq9j-vw4w-fr6v (GitHub Security Advisory (GHSA-fq9j-vw4w-fr6v)) vendor-advisory

www.vulncheck.com/...ia-cloudsdk-python-environment-variable (VulnCheck Advisory: OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable) third-party-advisory

cve.org (CVE-2026-53842)

nvd.nist.gov (CVE-2026-53842)

Download JSON