GHSA-j7p2-qcwm-94v4

Suggest an improvement
Source
https://github.com/advisories/GHSA-j7p2-qcwm-94v4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-j7p2-qcwm-94v4/GHSA-j7p2-qcwm-94v4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j7p2-qcwm-94v4
Aliases
Downstream
Published
2026-03-31T23:59:36Z
Modified
2026-05-06T02:51:07Z
Severity
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw's incomplete host env sanitization blocklist allows supply-chain redirection via package-manager env overrides
Details

Summary

Host exec env override sanitization did not fail closed for several package-manager and related redirect variables that can steer dependency fetches or startup behavior.

Impact

An approved exec request could silently redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.

Affected Component

src/infra/host-env-security-policy.json, src/infra/host-env-security.ts

Fixed Versions

  • Affected: < 2026.3.22
  • Patched: >= 2026.3.22

Fix

Fixed by commit 7abfff756d (Exec: harden host env override handling across gateway and node).

Database specific
{
    "cwe_ids":  [
        "CWE-183"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-31T23:59:36Z",
    "nvd_published_at":  "2026-04-28T19:37:41Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-j7p2-qcwm-94v4/GHSA-j7p2-qcwm-94v4.json"