GHSA-4qgr-57jq-93vh
Duplicate Advisory: Workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots
Impact
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-wc84-j36w-pw4x. This link is maintained to preserve external references. ## Original 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.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | openclaw | < 2026.5.2 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-4qgr-57jq-93vh
- https://github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x
- https://nvd.nist.gov/vuln/detail/CVE-2026-53858
- https://www.vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variable