CVE-2026-53858

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductOpenclaw
PublishedJun 16, 2026
First seenJun 16, 2026
Weakness typeCWE-426CWE-426

How to fix

Update
  • openclaw openclaw2026.5.2 or later
  • openclaw2026.5.2 or later

Affected products

ProductAffected versionsFixed in
openclaw openclawv < 2026.5.22026.5.2
openclawnpmv < 2026.5.22026.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.