Description
OpenClaw before 2026.3.31 fails to properly sanitize PIP_INDEX_URL and UV_INDEX_URL environment variables in host execution contexts, allowing attackers to redirect Python package-index traffic. Attackers can exploit this bypass to intercept or manipulate package management operations by injecting malicious index URLs through unsanitized environment variables.
Problem types
CWE-184: Incomplete List of Disallowed Inputs
Product status
Any version before 2026.3.31
2026.3.31 (semver)
Credits
Nathan (@nexrin)
KeenSecurityLab
qclawer
References
github.com/...enclaw/security/advisories/GHSA-7ggg-pvrf-458v (GitHub Security Advisory (GHSA-7ggg-pvrf-458v))
github.com/...ommit/7ae1bb0c7799fd0cbd2d4de7b0f5b8039837ab8d (Patch Commit)
www.vulncheck.com/...le-bypass-in-package-index-url-handling (VulnCheck Advisory: OpenClaw < 2026.3.31 - Environment Variable Bypass in Package Index URL Handling)