Skip to main content

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)

0
High
Published: 09/26/2026 (09/26/2026, 03:30:26 UTC)
Source: GCVE Database

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

openclaw
pkg:npm/openclaw

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/26/2026, 04:54:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses