CVE-2026-53842

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductOpenclaw
PublishedJun 16, 2026
First seenJun 16, 2026
Weakness typeCWE-426CWE-426

How to fix

Update
  • openclaw openclaw2026.5.2 or later
  • openclaw2026.5.2 or later

Affected products

ProductAffected versionsFixed in
openclaw openclawv < 2026.5.2, 2026.5.22026.5.2
openclawnpmv < 2026.5.22026.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.