CVE-2026-53858

HIGH

OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-wc84-j36w-pw4x)
https://github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x
Third Party Advisory third-party-advisory
VulnCheck Advisory: OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable
https://www.vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variable

Scores

CVSS v3 7.1
EPSS 0.0012
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-426
Status published
Products (4)
npm/openclaw 0 - 2026.5.2npm
OpenClaw/OpenClaw < 2026.5.2
openclaw/openclaw < 2026.5.2
OpenClaw/OpenClaw 2026.5.2
Published Jun 16, 2026
Tracked Since Jun 17, 2026