NetSight
high7.1No CVE yet

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

EcosystemPackageAffectedFixed in
npmopenclaw< 2026.5.2none recorded

Weakness classification

References