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.
https://github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x
Published: 2026-06-16
Updated: 2026-06-16
Base Score: 6.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:N
Severity: Medium
Base Score: 7.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Severity: High
Base Score: 7
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Severity: High