Skip to content
OpenAdvisories
High · 7.1 CVE-2026-53858 EUVD-2026-37160GHSA-4qgr-57jq-93vhGHSA-wc84-j36w-pw4x

OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable

Published Jun 16, 2026 · Updated Jun 18, 2026 · 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.

Affected products

VendorProductAffectedFixed
OpenClaw OpenClaw < 2026.5.2 2026.5.2

Affected packages

EcosystemPackageAffectedFixedRecord
npm openclaw < 2026.5.2 2026.5.2 GHSA-wc84-j36w-pw4x

Advisories 1

References