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.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Openclaw Openclaw
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
|
— |
2026.5.2
|
|
Openclaw Openclaw
cpe:2.3:a:openclaw:openclaw:2026.5.2:beta1:*:*:*:node.js:*:*
|
— | — |
|
Openclaw Openclaw
cpe:2.3:a:openclaw:openclaw:2026.5.2:beta2:*:*:*:node.js:*:*
|
— | — |
|
Openclaw Openclaw
cpe:2.3:a:openclaw:openclaw:2026.5.2:beta3:*:*:*:node.js:*:*
|
— | — |