CyberRota Analysis
AI-GeneratedVersions of the OpenClaw npm package from 2026.3.28 to 2026.8.1 are vulnerable due to the ability of an untrusted .env file to manipulate the CLOUDSDK_PYTHON_ARGS environment variable, potentially allowing attackers to execute arbitrary code with the host user's permissions during the Gmail setup flow. This vulnerability poses a significant risk as it can lead to unauthorized access to sensitive credentials and modification of files. Organizations using affected versions should prioritize upgrading to version 2026.8.1 or implement workarounds to mitigate the risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
OpenClaw (npm package 'openclaw') versions >= 2026.3.28 and < 2026.8.1 allow an untrusted workspace .env file to set the CLOUDSDK_PYTHON_ARGS environment variable. When an operator starts OpenClaw in attacker-controlled workspace content and then runs the Gmail setup flow, that value is inherited when gcloud is launched, and the gcloud launcher passes it as arguments to the trusted Python interpreter. A crafted CLOUDSDK_PYTHON_ARGS value can therefore cause Python to execute attacker-supplied code with the OpenClaw host user's permissions, allowing credentials to be read, files to be modified, or other processes to be started. This issue is fixed in version 2026.8.1; as a workaround, run Gmail setup only from trusted workspaces and clear inherited CLOUDSDK_* variables beforehand.