{"id":"CVE-2026-53858","published":"2026-06-16T18:05:05Z","modified":"2026-06-18T14:23:46Z","title":"OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.04682,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variable","tags":["third-party-advisory"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.94},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.5.2"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-18T03:55:59.403404Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.5.2"],"patched":["2026.5.2"],"from":["GHSA-wc84-j36w-pw4x"],"provenance":"source"}],"summary":{"text":"OpenClaw before 2026.5.2 contains a flaw in which a STATE_DIRECTORY setting read from a workspace .env file can redirect the root directories used to load bundled runtime dependencies, causing them to resolve from unintended local paths. An attacker who can get a malicious workspace and its .env file onto a victim's system, with a local foothold and user interaction required, can cause malicious code to be executed during dependency resolution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:34Z"},"euvd":{"id":"EUVD-2026-37160","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-53844","published":"2026-06-16","fixed":"2026.4.29","kev":false,"link":{"from":"CVE-2026-53844","to":"CVE-2026-53858","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:openclaw","fromFixed":"2026.4.29","toFixed":"2026.5.2","daysApart":0}]}},{"cve":"CVE-2026-53846","published":"2026-06-16","fixed":"2026.4.29","kev":false},{"cve":"CVE-2026-53842","published":"2026-06-16","fixed":"2026.5.2","kev":false},{"cve":"CVE-2026-53858","published":"2026-06-16","fixed":"2026.5.2","kev":false},{"cve":"CVE-2026-53865","published":"2026-06-16","fixed":"2026.5.2","kev":false},{"cve":"CVE-2026-53857","published":"2026-06-16","fixed":"2026.5.3","kev":false},{"cve":"CVE-2026-53837","published":"2026-06-12","fixed":"2026.5.6","kev":false}],"package":"npm:openclaw"}}