Description
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.
Published: 2026-09-26
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

OpenClaw versions between 2026.3.28 (inclusive) and 2026.8.1 (exclusive) allow an attacker to place an untrusted .env file in a workspace and set the CLOUDSDK_PYTHON_ARGS environment variable. When the operator starts OpenClaw from that workspace and initiates the Gmail setup flow, the gcloud launcher inherits the variable and forwards its contents as arguments to the trusted Python interpreter. A crafted value can cause Python to execute arbitrary code with the host user's privileges, enabling the attacker to read credentials, modify files, or launch additional processes. The weakness is catalogued as CWE‑88, reflecting improper handling of user‑supplied configuration data that is executed in a privileged context.

Affected Systems

The vulnerability affects any installation of the openclaw npm package (OpenClaw) with a version number >= 2026.3.28 and < 2026.8.1. No other vendor or product versions are affected according to the current data.

Risk and Exploitability

With a CVSS score of 8.5 the vulnerability is classified as high severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, so publicly documented exploitation is not confirmed. The attack vector likely requires the attacker to control the workspace content or be able to influence the .env file that sets CLOUDSDK_PYTHON_ARGS. When these conditions are met, the attacker can achieve remote code execution with the permissions of the OpenClaw host user. The absence of an EPSS figure suggests that exploit prevalence may be limited, but the high CVSS score and the ability to run arbitrary code warrant close attention.

Generated by OpenCVE AI on September 26, 2026 at 04:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.8.1 or later
  • Run Gmail setup only from trusted workspaces
  • Clear inherited CLOUDSDK_* variables before initiating Gmail setup

Generated by OpenCVE AI on September 26, 2026 at 04:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 02:30:00 +0000

Type Values Removed Values Added
Description 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.
Title OpenClaw before 2026.8.1 Remote Code Execution via CLOUDSDK_PYTHON_ARGS
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-88
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-29T17:04:34.937Z

Reserved: 2026-09-26T01:03:10.863Z

Link: CVE-2026-100570

cve-icon Vulnrichment

Updated: 2026-09-29T17:03:13.985Z

cve-icon NVD

Status : Deferred

Published: 2026-09-26T03:17:04.177

Modified: 2026-09-29T17:17:02.883

Link: CVE-2026-100570

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T06:15:05Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')