| Advisory ID | github_osv/GHSA-f8mp-vj46-cq8v |
| Aliases |
CVE-2026-32032
|
| Summary | OpenClaw's shell env fallback trusts unvalidated SHELL path from host environment The shell environment fallback path could invoke an attacker-controlled shell when `SHELL` was inherited from an untrusted host environment. In affected builds, shell-env loading used `$SHELL -l -c 'env -0'` without validating that `SHELL` points to a trusted executable. In threat-model terms, this requires local environment compromise or untrusted startup environment injection first; it is not a remote pre-auth path. The hardening patch validates `SHELL` as an absolute normalized executable, prefers `/etc/shells`, applies trusted-prefix fallback checks, and falls back safely to `/bin/sh` when validation fails. The dangerous env-var policy now also blocks `SHELL` overrides. ## Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `<= 2026.2.21-2` - Latest published vulnerable version: `2026.2.21-2` - Patched versions (planned next release): `>= 2026.2.22` ## Fix Commit(s) - `25e89cc86338ef475d26be043aa541dfdb95e52a` ## Release Process Note The advisory pre-sets `patched_versions` to the planned next release (`2026.2.22`). After that npm release is published, maintainers can publish this advisory without further version-field edits. OpenClaw thanks @athuljayaram for reporting. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 7.0 |
| Risk | 3.5 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 7.8 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-f8mp-vj46-cq8v/GHSA-f8mp-vj46-cq8v.json |
| cvssv4 | 7.3 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-f8mp-vj46-cq8v/GHSA-f8mp-vj46-cq8v.json |
| generic_textual | HIGH |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| 25e89cc86338ef475d26be043aa541dfdb95e52a | Other | https://github.com/openclaw/openclaw/commit/25e89cc86338ef475d26be043aa541dfdb95e52a |
| CVE-2026-32032 | https://nvd.nist.gov/vuln/detail/CVE-2026-32032 | |
| GHSA-f8mp-vj46-cq8v | Advisory | https://github.com/openclaw/openclaw/security/advisories/GHSA-f8mp-vj46-cq8v |
| openclaw-arbitrary-shell-execution-via-unvalidated-shell-environment-variable | Advisory | https://www.vulncheck.com/advisories/openclaw-arbitrary-shell-execution-via-unvalidated-shell-environment-variable |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-20T20:06:36Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2026/32xxx/CVE-2026-32032.json
Source Advisory: vulnrichment/CVE-2026-32032
[{'Exploitation': 'none'},
{'Automatable': 'no'},
{'Technical Impact': 'total'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]