What’s Vulnerable › Vulnerabilities

CVE-2026-53858: OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable

Description

OpenClaw before 2026.5.2 contains an environment variable injection vulnerability where workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots. Attackers can manipulate the STATE_DIRECTORY variable to load runtime dependencies from unintended local paths, potentially executing malicious code during dependency resolution.

Affected products

How to fix

Upgrade to a fixed version: OpenClaw 2026.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-53858 or the next vulnerability affects your stack