Home

Description

OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.

PUBLISHED Reserved 2026-04-20 | Published 2026-04-28 | Updated 2026-04-28 | Assigner VulnCheck




HIGH: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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

Problem types

CWE-183: Permissive List of Allowed Inputs

Product status

Default status
unaffected

Any version before 2026.3.22
affected

2026.3.22 (semver)
unaffected

Credits

tdjackey reporter

References

github.com/...enclaw/security/advisories/GHSA-j7p2-qcwm-94v4 (GitHub Security Advisory (GHSA-j7p2-qcwm-94v4)) vendor-advisory

www.vulncheck.com/...ncomplete-host-environment-sanitization (VulnCheck Advisory: OpenClaw < 2026.3.22 - Supply Chain Redirection via Incomplete Host Environment Sanitization) third-party-advisory

cve.org (CVE-2026-41387)

nvd.nist.gov (CVE-2026-41387)

Download JSON