Skip to content

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.

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 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

References