CVE-2026-53858: OpenClaw · Workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots
Affects openclaw-cliSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 2026.5.2 soon.
Data as of 17 Nov 2026, 20:25 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2026.5.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade openclaw-cli to 2026.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in openclaw-cli version 2026.5.2. Until patched, users should avoid opening untrusted workspace .env files before runtime dependency installation. Additional mitigations include maintaining narrow channel and tool allowlists, avoiding sharing a Gateway between mutually untrusted users, and disabling the affected feature when it is not needed.
Description
A vulnerability in openclaw-cli allows a workspace .env file to influence the STATE_DIRECTORY environment variable, potentially causing bundled runtime dependencies to be loaded from unintended local paths. This affects versions from 2026.1.29 up to but not including 2026.5.2. The issue requires the affected feature to be enabled and reachable and depends on operator configuration and trust boundaries. The vulnerability does not alter the trusted-operator model of OpenClaw. A patch is available in version 2026.5.2. Mitigations include avoiding opening untrusted workspace .env files before patching and restricting access via allowlists and disabling the feature if not needed.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-53858 (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variable (opens in a new tab)