GHSA-9fr2-p65v-gqxq

Suggest an improvement
Source
https://github.com/advisories/GHSA-9fr2-p65v-gqxq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9fr2-p65v-gqxq/GHSA-9fr2-p65v-gqxq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9fr2-p65v-gqxq
Withdrawn
2026-06-18T13:03:59Z
Published
2026-06-16T21:31:57Z
Modified
2026-09-10T03:50:49Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 7.0 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: Workspace .env CLOUDSDK_PYTHON could influence Gmail setup gcloud execution
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-426"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-18T13:03:59Z",
    "nvd_published_at":  "2026-06-16T19:17:01Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / openclaw

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.1
2.0.2

Database specific

last_known_affected_version_range
"< 2026.5.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9fr2-p65v-gqxq/GHSA-9fr2-p65v-gqxq.json"