Skip to content

CVE-2026-53842 OpenClaw < 2026.5.2 - Arbitrary Python Runtime Execution via CLOUDSDK_PYTHON Environment Variable

HighCVSS 7.0 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm openclaw < 2026.5.2 2026.5.2 Fixed
npm openclaw(npm) < 2026.5.2 2026.5.2 Fixed
openclaw < 2026.5.2; = 2026.5.2-beta1; = 2026.5.2-beta2; = 2026.5.2-beta3 2026.5.2 Fixed

Affected products

ProductAffected versionsFixed in
npm openclaw < 2026.5.2 2026.5.2
npm openclaw(npm) < 2026.5.2 2026.5.2
openclaw < 2026.5.2 2026.5.2
openclaw = 2026.5.2-beta1 No fix listed
openclaw = 2026.5.2-beta2 No fix listed
openclaw = 2026.5.2-beta3 No fix listed

References