Skip to main content

OpenClaw CVE-2026-100570

| EUVDEUVD-2026-87481 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-09-26 VulnCheck GHSA-g53g-fv6q-g8f9
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Plant malicious .env in workspace
  2. Delivery
    Operator starts OpenClaw in workspace
  3. Exploit
    Operator runs Gmail setup flow
  4. Execution
    CLOUDSDK_PYTHON_ARGS inherited by gcloud launcher
  5. Persist
    Python executes injected arguments
  6. Impact
    Code runs as host user (creds/files/processes)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires (1) an untrusted, attacker-controlled OpenClaw workspace containing a malicious .env file that sets the CLOUDSDK_PYTHON_ARGS environment variable; (2) an operator who starts OpenClaw against that workspace content; and (3) that operator subsequently running the Gmail setup flow, which invokes the gcloud launcher and passes the inherited variable to the trusted Python interpreter. Limiting factors: the attack is local (payload must already reside in the workspace), and it depends entirely on operator action in a specific setup flow - it cannot be triggered remotely or unattended. The documented workaround (run Gmail setup only from trusted workspaces and clear inherited CLOUDSDK_* variables beforehand) directly neutralizes the condition. Affected versions are 2026.3.28 through 2026.8.0; 2026.8.1 fixes it.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) scores 8.5 High, and this aligns with the mechanics: the flaw is fundamentally local - it requires the attacker's payload to already be present in the OpenClaw workspace as a malicious .env file, and it requires an operator to both launch OpenClaw against that attacker-controlled content and then actively run the Gmail setup flow (the UI:P/passive-interaction and my UI:R condition). Impact is genuinely severe once triggered: CWE-88 argument injection into the trusted Python interpreter yields full code execution as the host user (VC:H/VI:H/VA:H - credential theft, file modification, arbitrary process spawning). There is no EPSS score, no CISA KEV listing, and no public exploit code provided in the input, so this is a credible-but-unproven risk rather than an actively exploited one. The 'PR:N' rating is technically defensible (the attacker plants a file rather than authenticating) but is misleading in isolation - real exploitation is gated behind local workspace control plus operator action, which substantially lowers real-world likelihood. Note the input Tag 'Information Disclosure' understates and mislabels the issue: this is remote-code-execution/argument-injection, not mere disclosure. Net: a real defect worth patching, but a targeted/social-engineering-dependent one, not a mass-exploitable network vulnerability.

Exploit ScenarioDerived

An attacker publishes or contributes a repository/workspace containing a crafted .env file that sets CLOUDSDK_PYTHON_ARGS to a malicious value. An operator clones this workspace, starts OpenClaw inside it, and runs the Gmail setup flow; the poisoned variable is inherited when gcloud launches Python, and the injected arguments cause Python to execute the attacker's code with the operator's host permissions. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 26, 2026

OpenClaw npm package versions 2026.3.28 through 2026.8.0 can be coerced into executing attacker-supplied Python code when an operator opens OpenClaw against an untrusted workspace whose .env file sets CLOUDSDK_PYTHON_ARGS and then runs the Gmail setup flow. The poisoned value is inherited by the gcloud launcher, which forwards it as arguments to the trusted Python interpreter, giving the attacker code execution with the OpenClaw host user's permissions - enough to read credentials, modify files, or spawn further processes. The issue is rated 8.5 (CVSS 4.0 AV:L/AC:L/AT:N/PR:N/UI:P; independent assessment CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) and is fully local and interaction-dependent: the malicious workspace content must already be present and the operator must both launch OpenClaw on it and actively trigger Gmail setup, so it cannot be fired remotely or unattended; no public exploit code was identified at time of analysis. Version 2026.8.1 fixes the flaw.

RemediationAI

Upgrade the openclaw npm package to 2026.8.1 or later, the exact version in which the vendor fixed this issue, and redeploy so the patched code path no longer honors a workspace-supplied CLOUDSDK_PYTHON_ARGS value; the vendor advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-5mrc-77hj-xjxv is the authoritative reference, with a third-party write-up at https://www.vulncheck.com/advisories/openclaw-before-2026.8.1-remote-code-execution-via-cloudsdk-python-args. If upgrading is not immediately possible, apply the documented workaround: run the Gmail setup flow only from trusted, non-attacker-controlled workspaces, and explicitly clear inherited CLOUDSDK_* variables - in particular CLOUDSDK_PYTHON_ARGS - from the environment before launching OpenClaw or invoking gcloud (for example by unsetting it in the shell or scrubbing it from the workspace .env before startup). The trade-off is that clearing CLOUDSDK_* removes any legitimate per-project Cloud SDK Python argument configuration, which must then be re-applied manually through a trusted, non-workspace-controlled source; restricting Gmail setup to trusted workspaces likewise constrains normal workflows that rely on opening arbitrary or downloaded workspace content. Because exploitation requires the operator to start OpenClaw on untrusted workspace content and then run the setup flow, treating workspace .env files as untrusted input, reviewing them before startup, and avoiding Gmail setup inside externally supplied workspaces materially reduces exposure even before patching.

Affected VersionsENISA

OpenClaw 2026.3.28 <2026.8.1

Affected Packages

euvd openclaw fix: 2026.8.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-88, argument injection, in the Google Cloud SDK invocation path used by OpenClaw's Gmail setup flow. OpenClaw honors an environment file from the workspace, and a value supplied there for CLOUDSDK_PYTHON_ARGS is not sanitized or stripped before the gcloud launcher consumes it. CLOUDSDK_PYTHON_ARGS is a legitimate Cloud SDK setting whose purpose is to pass options through to the Python interpreter that runs gcloud; because the launcher treats the string as trusted arguments, a crafted value injects interpreter options (for example an inline code execution flag) that the interpreter executes as the invoking host user. The CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:* identifies the affected npm package, and the tagged intelligence (Python, Node.js, Information Disclosure, OpenClaw) reflects the mixed stack: a Node.js/npm client that shells out to a Python-based cloud toolchain. The trust boundary failure is that a workspace-local, attacker-influenceable file is allowed to set an environment variable that controls how a trusted external interpreter is invoked, so the injection does not require any flaw in Python or gcloud themselves.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

AV:L because the malicious .env must reside locally in the workspace; UI:R because an operator must launch OpenClaw and run Gmail setup; PR:N as the attacker plants content without authenticating; C/I/A:H for full code execution as the host user.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 26, 2026 - 03:01 EUVD
CVE Published
Sep 26, 2026 - 02:18 cve.org
HIGH 8.5

DescriptionCVE.org

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.

Technical POC Analysis

Evidence base: GHSA-5mrc-77hj-xjxv only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

OpenClaw npm package versions 2026.3.28 through 2026.8.0 expose organizations to a high-severity local code execution risk when operators open untrusted workspaces and trigger the Gmail setup flow. A malicious workspace can lead to unauthorized code execution with the host user's permissions, potentially compromising credentials and files on affected systems. Leadership should prioritize remediation because development and administrative users who handle third-party project files are the primary affected group, and no public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche open-source AI agent framework, minimal enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

CVE-2026-32048 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy