GHSA-4qgr-57jq-93vh

Suggest an improvement
Source
https://github.com/advisories/GHSA-4qgr-57jq-93vh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4qgr-57jq-93vh/GHSA-4qgr-57jq-93vh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4qgr-57jq-93vh
Withdrawn
2026-06-18T20:38:43Z
Published
2026-06-16T21:31:59Z
Modified
2026-06-18T20:45:18Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 7.0 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Duplicate Advisory: Workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-426"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-18T20:38:43Z",
    "nvd_published_at":  "2026-06-16T19:17:03Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

last_known_affected_version_range
"< 2026.5.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4qgr-57jq-93vh/GHSA-4qgr-57jq-93vh.json"