Advisory details:
gitlab / npm/openclaw/GHSA-f8mp-vj46-cq8v
| Advisory ID | gitlab/npm/openclaw/GHSA-f8mp-vj46-cq8v |
| Aliases |
GHSA-f8mp-vj46-cq8v
|
| 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 0.0 |
| Risk | |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/openclaw/GHSA-f8mp-vj46-cq8v.yml |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| 25e89cc86338ef475d26be043aa541dfdb95e52a | Other | https://github.com/openclaw/openclaw/commit/25e89cc86338ef475d26be043aa541dfdb95e52a |
| GHSA-f8mp-vj46-cq8v | https://github.com/advisories/GHSA-f8mp-vj46-cq8v | |
| GHSA-f8mp-vj46-cq8v | Advisory | https://github.com/openclaw/openclaw/security/advisories/GHSA-f8mp-vj46-cq8v |
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 |
There are no SSVC decisions available.