---
id: GHSA-9fr2-p65v-gqxq
title: >-
  Duplicate Advisory: Workspace .env CLOUDSDK_PYTHON could influence Gmail setup
  gcloud execution
summary: >-
  Duplicate Advisory: Workspace .env CLOUDSDK_PYTHON could influence Gmail setup
  gcloud execution
severity: high
cvss: 7.1
cwe:
  - CWE-426
vendor: openclaw
product: openclaw
ecosystem: pip
affected:
  - openclaw < 2026.5.2
published: '2026-06-16'
updated: '2026-06-18'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-9fr2-p65v-gqxq'
references:
  - url: >-
      https://github.com/openclaw/openclaw/security/advisories/GHSA-fq9j-vw4w-fr6v
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53842'
  - url: >-
      https://www.vulncheck.com/advisories/openclaw-arbitrary-python-runtime-execution-via-cloudsdk-python-environment-variable
  - url: 'https://github.com/advisories/GHSA-9fr2-p65v-gqxq'
tags:
  - ghsa
  - pip
ingestedAt: '2026-06-29T14:31:47.649Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-fq9j-vw4w-fr6v. This link is maintained to preserve external references.

## Original Description
OpenClaw before 2026.5.2 contains an environment variable injection vulnerability allowing workspace .env files to influence Python runtime selection through CLOUDSDK_PYTHON during Gmail setup gcloud execution. Attackers with repository access can manipulate the CLOUDSDK_PYTHON variable to execute setup through unintended local Python paths, potentially enabling arbitrary code execution.

## Affected packages

- `openclaw < 2026.5.2`

## Remediation

Refer to the advisory for the patched release.
