Home

Description

OpenClaw versions prior to 2026.2.22 contain an arbitrary shell execution vulnerability in shell environment fallback that trusts the unvalidated SHELL path from the host environment. An attacker with local environment access can inject a malicious SHELL variable to execute arbitrary commands with the privileges of the OpenClaw process.

PUBLISHED Reserved 2026-03-10 | Published 2026-03-19 | Updated 2026-03-25 | Assigner VulnCheck




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

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

Problem types

CWE-426: Untrusted Search Path

Product status

Default status
unaffected

Any version before 2026.2.22
affected

2026.2.22 (semver)
unaffected

Credits

Athul Jayaram (@athuljayaram) reporter

References

github.com/...enclaw/security/advisories/GHSA-f8mp-vj46-cq8v (GitHub Security Advisory (GHSA-f8mp-vj46-cq8v)) third-party-advisory

github.com/...ommit/25e89cc86338ef475d26be043aa541dfdb95e52a (Patch Commit) patch

www.vulncheck.com/...-unvalidated-shell-environment-variable (VulnCheck Advisory: OpenClaw < 2026.2.22 - Arbitrary Shell Execution via Unvalidated SHELL Environment Variable) third-party-advisory

cve.org (CVE-2026-32032)

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

Download JSON