High severity7.1NVD Advisory· Published Jun 16, 2026· Updated Jun 18, 2026
CVE-2026-53858
CVE-2026-53858
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.5.2 | 2026.5.2 |
Affected products
3Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-wc84-j36w-pw4xghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4xnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-53858ghsaADVISORY
- www.vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variablenvdThird Party AdvisoryWEB
News mentions
1- OpenClaw: 25 CVEs Disclosed in a Single Day — Allowlist Bypasses and Privilege Escalation DominateVypr Intelligence · Jun 16, 2026