CVE-2026-100570

OpenClaw before 2026.8.1 Remote Code Execution via CLOUDSDK_PYTHON_ARGS

Published Sep 26, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-88

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 29, 2026, 5:04 PM
Reserved
Sep 26, 2026, 1:03 AM
Status
Deferred
Published
Sep 26, 2026, 3:17 AM
Modified
Sep 29, 2026, 5:17 PM