Description
OpenClaw versions prior to commit b57b680 contain an approval bypass vulnerability due to inconsistent environment variable normalization between approval and execution paths, allowing attackers to inject attacker-controlled environment variables into execution without approval system validation. Attackers can exploit differing normalization logic to discard non-portable keys during approval processing while accepting them at execution time, bypassing operator review and potentially influencing runtime behavior including execution of attacker-controlled binaries.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | — | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.2 | 2026.4.2 | GHSA-98ch-45wp-ch47 |
| npm | openclaw | < 2026.3.22 | 2026.3.22 | GHSA-h3x4-hc5v-v2gm |
Advisories 1
- WID-SEC-2026-0980 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 28, 2026
References
- GitHub Security Advisory (GHSA-98ch-45wp-ch47) vendor-advisory
- Patch Commit #1 issue-tracking patch
- https://github.com/openclaw/openclaw/commit/b57b680c0c34de907d57f60c38fb358e82aef8f7 patch
- https://www.vulncheck.com/advisories/openclaw-approval-bypass-via-environment-variable-normalization third-party-advisory