Environment Variable Injection in OpenClaw Affects Dependency Management
CVE-2026-53858

7HIGH

Key Information:

Vendor

Openclaw

Status
Vendor
CVE Published:
16 June 2026

What is CVE-2026-53858?

OpenClaw, prior to version 2026.5.2, is susceptible to an environment variable injection vulnerability. This flaw allows attackers to manipulate the STATE_DIRECTORY variable within the workspace .env file, potentially directing the application to load runtime dependencies from unintended local paths. As a result, attackers could execute malicious code during the dependency resolution process, compromising application integrity and security.

Affected Version(s)

OpenClaw 0 < 2026.5.2

OpenClaw 2026.5.2

References

CVSS V4

Score:
7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

侯海飞 (@feynman-hou)
.