Skip to content
HighVulnerability

CVE-2026-53858: OpenClaw environment variable injection via workspace .env STATE_DIRECTORY

Identifier
CVE-2026-53858
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

OpenClaw before 2026.5.2 contains an environment variable injection flaw (CVE-2026-53858) in which a workspace .env file can set STATE_DIRECTORY and thereby influence bundled runtime dependency roots. An attacker who manipulates STATE_DIRECTORY can make the software load runtime dependencies from unintended local paths, potentially executing malicious code during dependency resolution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.