Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-53858

CVE-2026-53858: OpenClaw: Workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots

June 18, 2026

Workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots. In affected versions, a workspace .env in a repository opened by a trusted operator could set STATE_DIRECTORY before runtime dependency root resolution.

This advisory is scoped to the named feature and configuration. It does not change OpenClaw’s trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.

References

  • github.com/advisories/GHSA-wc84-j36w-pw4x
  • github.com/openclaw/openclaw/security/advisories/GHSA-wc84-j36w-pw4x
  • nvd.nist.gov/vuln/detail/CVE-2026-53858
  • www.vulncheck.com/advisories/openclaw-arbitrary-runtime-dependency-loading-via-state-directory-environment-variable

Code Behaviors & Features

Detect and mitigate CVE-2026-53858 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.5.2

Fixed versions

  • 2026.5.2

Solution

Upgrade to version 2026.5.2 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-426: Untrusted Search Path

Source file

npm/openclaw/CVE-2026-53858.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:52 +0000.