p PatchFirst

CVE-2026-53858

CVE-2026-53858 · OpenClaw < 2026.5.2 - Arbitrary Runtime Dependency Loading via STATE_DIRECTORY Environment Variable

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.0 · High · EPSS 0.1% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • openclaw

    Versions
    • ≥ 0, < 2026.5.2: Affected (semver)
    • 2026.5.2: Not affected (semver)

    Update to 2026.5.2

  • openclaw npm

    Affected ranges
    • SEMVER: < 2026.5.2

    Update to 2026.5.2

Original sources

Check your server →