CVE-2026-100570: OpenClaw before 2026.8.1 Remote Code Execution via CLOUDSDK_PYTHON_ARGS

Published Sep 26, 2026
·
Updated

OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDKPYTHONARGS 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 CLOUDSDKPYTHONARGS 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.

Affected Software

1 affected component
npm/openclaw>=2026.3.28<2026.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/openclaw to a version that resolves this vulnerability.

    Fixed in 2026.8.1
  2. Compensating control

    Run Gmail setup only from trusted workspaces and clear inherited CLOUDSDK_* variables beforehand.

Event History

Sep 26, 2026
CVE Published
via MITRE·02:18 AM
Data Sourced
via MITRE·02:18 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to exploitation?

OpenClaw npm package versions from 2026.3.28 up to, but not including, 2026.8.1 are affected. Exploitation requires an operator to start OpenClaw in attacker-controlled workspace content and run the Gmail setup flow.

2

What access or interaction does an attacker need?

An attacker needs to control the workspace content sufficiently to provide an untrusted .env file that sets CLOUDSDK_PYTHON_ARGS. They do not need prior privileges on the OpenClaw host, but an operator must run the Gmail setup flow from that workspace.

3

What is the impact if exploitation succeeds?

Attacker-supplied Python code executes with the permissions of the host user running OpenClaw. This can allow reading credentials, modifying files, and starting other processes accessible to that user.

4

What can be done before upgrading?

Run the Gmail setup flow only from trusted workspaces. Before running it, clear inherited CLOUDSDK_* environment variables, including CLOUDSDK_PYTHON_ARGS.

5

How can I remediate the issue?

Upgrade OpenClaw to version 2026.8.1 or later. The issue is fixed in 2026.8.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203