---
id: CVE-2026-100570
title: >-
  OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow
  an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment
  variable
summary: >-
  OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow
  an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment
  variable. When an operator starts OpenClaw in attacker-controlled workspace
  content…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-88
vendor: OpenClaw
product: OpenClaw
affected:
  - OpenClaw >= 2026.3.28 < 2026.8.1
published: '2026-09-26'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T03:17:04.177'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100570'
references:
  - url: >-
      https://github.com/openclaw/openclaw/security/advisories/GHSA-5mrc-77hj-xjxv
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/openclaw-before-2026.8.1-remote-code-execution-via-cloudsdk-python-args
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-26T03:25:24.688Z'
---

## Overview

OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment variable. When an operator starts OpenClaw in attacker-controlled workspace content and then runs the Gmail setup flow, that value is inherited when gcloud is launched, and the gcloud launcher passes it as arguments to the trusted Python interpreter. A crafted CLOUDSDK_PYTHON_ARGS value can therefore cause Python to execute attacker-supplied code with the OpenClaw host user's permissions, allowing credentials to be read, files to be modified, or other processes to be started. This issue is fixed in version 2026.8.1; as a workaround, run Gmail setup only from trusted workspaces and clear inherited CLOUDSDK_* variables beforehand.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
