# CVE-2026-53858: OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-16T18:05:05.774Z
- Modified: 2026-06-18T20:56:29.112Z
- Also known as: GHSA-wc84-j36w-pw4x
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.5.2 (not affected: 2026.5.2)
- openclaw (npm): before 2026.5.2

## Every score

- VulnCheck: CVSS:4.0 7.0 High `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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variable> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53858> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-53858](https://www.cve.org/CVERecord?id=CVE-2026-53858), CVE Terms of Use, modified 2026-06-18
- GitHub Advisory Database: [GHSA-wc84-j36w-pw4x](https://github.com/advisories/GHSA-wc84-j36w-pw4x), CC-BY-4.0, modified 2026-06-18
- NVD: [CVE-2026-53858](https://nvd.nist.gov/vuln/detail/CVE-2026-53858), Public domain, modified 2026-06-18

---

Page: https://cve.day/CVE-2026-53858 · Whole record: https://cve.day/CVE-2026-53858.json · Rebuilt by cve.day 2026-11-25T22:59:24.773Z
