CVE-2026-53858 OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable
HighCVSS 7.0
EPSS 0.18%
- 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 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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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 | Fixed |
Affected products
| Product | Affected versions | Fixed 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 |
References
- GitHub Security Advisory (GHSA-wc84-j36w-pw4x) vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product