OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS… (CVE-2026-100570)
OpenClaw npm package versions from 2026.3.28 up to but not including 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment variable. This environment variable is inherited by the gcloud launcher during the Gmail setup flow, enabling attacker-supplied Python code execution with the host user's permissions. This can lead to credential theft, file modification, or process execution. The vulnerability is fixed in version 2026.8.1. As a workaround, users should run Gmail setup only from trusted workspaces and clear inherited CLOUDSDK_* variables before starting.
AI Analysis
Technical Summary
The OpenClaw npm package versions >= 2026.3.28 and < 2026.8.1 permit an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment variable. When an operator initiates OpenClaw in attacker-controlled workspace content and runs the Gmail setup flow, the CLOUDSDK_PYTHON_ARGS value is passed to the trusted Python interpreter by the gcloud launcher. This allows execution of attacker-supplied Python code with the permissions of the OpenClaw host user. The vulnerability enables reading credentials, modifying files, or starting other processes. The issue is resolved in version 2026.8.1. A temporary mitigation is to run Gmail setup only in trusted workspaces and clear CLOUDSDK_* environment variables beforehand.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary Python code with the privileges of the OpenClaw host user. This can lead to unauthorized access to credentials, modification of files, and execution of additional processes, potentially compromising the host system's confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in OpenClaw version 2026.8.1. Users should upgrade to this version to remediate the vulnerability. Until then, as a workaround, run the Gmail setup flow only from trusted workspaces and clear any inherited CLOUDSDK_* environment variables before starting OpenClaw.
OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS… (CVE-2026-100570)
Description
OpenClaw npm package versions from 2026.3.28 up to but not including 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment variable. This environment variable is inherited by the gcloud launcher during the Gmail setup flow, enabling attacker-supplied Python code execution with the host user's permissions. This can lead to credential theft, file modification, or process execution. The vulnerability is fixed in version 2026.8.1. As a workaround, users should run Gmail setup only from trusted workspaces and clear inherited CLOUDSDK_* variables before starting.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenClaw npm package versions >= 2026.3.28 and < 2026.8.1 permit an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment variable. When an operator initiates OpenClaw in attacker-controlled workspace content and runs the Gmail setup flow, the CLOUDSDK_PYTHON_ARGS value is passed to the trusted Python interpreter by the gcloud launcher. This allows execution of attacker-supplied Python code with the permissions of the OpenClaw host user. The vulnerability enables reading credentials, modifying files, or starting other processes. The issue is resolved in version 2026.8.1. A temporary mitigation is to run Gmail setup only in trusted workspaces and clear CLOUDSDK_* environment variables beforehand.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary Python code with the privileges of the OpenClaw host user. This can lead to unauthorized access to credentials, modification of files, and execution of additional processes, potentially compromising the host system's confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in OpenClaw version 2026.8.1. Users should upgrade to this version to remediate the vulnerability. Until then, as a workaround, run the Gmail setup flow only from trusted workspaces and clear any inherited CLOUDSDK_* environment variables before starting OpenClaw.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g53g-fv6q-g8f9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-100570"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ab74f2af7a7c54106e1382c
Added to database: 09/26/2026, 04:50:50 UTC
Last enriched: 09/26/2026, 04:54:31 UTC
Last updated: 09/26/2026, 06:27:55 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.