5.6medium
OpenClaw < 2026.2.22 - Allowlist Parsing Mismatch in system.run Shell Chains
- Severity
- 5.6medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-5f9p-f3w2-fwch
Description
OpenClaw versions prior to 2026.2.22 contain an allowlist parsing mismatch vulnerability in the macOS companion app that allows authenticated operators to bypass exec approval checks. Attackers with operator.write privileges and a paired macOS beta node can craft shell-chain payloads that pass incomplete allowlist validation and execute arbitrary commands on the paired host.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.2.22 | CVE List, NVD |
| openclaw (npm) | before 2026.2.22 | GitHub Advisory Database |
All scores
| VulnCheck | 5.6medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| VulnCheck | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N |
| NVD | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
OpenClaw versions prior to 2026.2.22 contain an allowlist parsing mismatch vulnerability in the macOS companion app that allows authenticated operators to bypass exec approval checks. Attackers with operator.write privileges and a paired macOS beta node can craft shell-chain payloads that pass incomplete allowlist validation and execute arbitrary commands on the paired host.
GitHub Advisory Database
Summary
In the macOS companion app (currently beta), a parsing mismatch in exec approvals could let shell-chain payloads pass allowlist checks in system.run under specific settings.
Impact
This path requires all of the following:
- authenticated caller with
operator.write - paired macOS beta node host
- exec approvals set to
security=allowlistandask=on-miss
Under those conditions, a shell-chain command could be approved from an incomplete command view and then executed on the paired macOS host.
Default Install Status
Default installs are not affected.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
<= 2026.2.21-2 - Patched (planned next release):
>= 2026.2.22
Technical Details
The fix hardens macOS allowlist resolution by evaluating shell chains per segment and failing closed on unsafe shell-substitution parsing in allowlist mode.
Product Status Note
The affected macOS companion app path is currently in beta.
Fix Commit(s)
5da03e622119fa012285cdb590fcf4264c965cb5e371da38aab99521c4e076cd3d95fd775e00b784
Release Process Note
patched_versions is pre-set to the planned next npm release (2026.2.22) so once that version is published, this advisory can be published without additional metadata edits.
OpenClaw thanks @tdjackey for reporting.
NVD (es)
Versiones de OpenClaw anteriores a 2026.2.22 contienen una vulnerabilidad de discrepancia en el análisis de la lista de permitidos en la aplicación complementaria de macOS que permite a los operadores autenticados eludir las comprobaciones de aprobación de ejecución. Atacantes con privilegios operator.write y un nodo beta de macOS emparejado pueden crear cargas útiles de cadena de shell que pasan una validación incompleta de la lista de permitidos y ejecutan comandos arbitrarios en el host emparejado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31993 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5f9p-f3w2-fwch changed 2026-03-19 | CC-BY-4.0 |
| NVD | CVE-2026-31993 changed 2026-06-17 | Public domain |