{"id":"CVE-2026-53842","published":"2026-06-16T18:04:54Z","modified":"2026-06-18T03:55:33Z","title":"OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.05395,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-fq9j-vw4w-fr6v","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-python-runtime-execution-via-cloudsdk-python-environment-variable","tags":["third-party-advisory"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.08},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.5.2"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-17T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.5.2"],"patched":["2026.5.2"],"from":["GHSA-fq9j-vw4w-fr6v"],"provenance":"source"}],"summary":{"text":"OpenClaw before 2026.5.2 contains a flaw in its Gmail setup, where gcloud execution during setup can be steered by the CLOUDSDK_PYTHON environment variable read from workspace .env files, so that the Python runtime used is determined by the workspace rather than by trusted paths. An attacker with access to a repository who can get a user to run the Gmail setup can point CLOUDSDK_PYTHON at an unintended local Python interpreter, potentially executing arbitrary code, with user interaction required and no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:11Z"},"euvd":{"id":"EUVD-2026-37144","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-53833","published":"2026-06-12","fixed":"2026.4.29","kev":false},{"cve":"CVE-2026-53844","published":"2026-06-16","fixed":"2026.4.29","kev":false,"link":{"from":"CVE-2026-53844","to":"CVE-2026-53842","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:openclaw","fromFixed":"2026.4.29","toFixed":"2026.5.2","daysApart":0}]}},{"cve":"CVE-2026-53846","published":"2026-06-16","fixed":"2026.4.29","kev":false},{"cve":"CVE-2026-53842","published":"2026-06-16","fixed":"2026.5.2","kev":false},{"cve":"CVE-2026-53858","published":"2026-06-16","fixed":"2026.5.2","kev":false},{"cve":"CVE-2026-53865","published":"2026-06-16","fixed":"2026.5.2","kev":false},{"cve":"CVE-2026-53857","published":"2026-06-16","fixed":"2026.5.3","kev":false}],"package":"npm:openclaw"}}