In OpenClaw, manually adding sort to tools.exec.safeBins could bypass allowlist approval via --compress-program
Summary
This issue applies to a non-default configuration only.
If sort is manually added to tools.exec.safeBins, OpenClaw could treat sort --compress-program=<prog> as valid safe-bin usage.
In security=allowlist + ask=on-miss, this could satisfy allowlist checks and skip operator approval, while GNU sort may invoke an external program via --compress-program.
Affected Packages / Versions
- Ecosystem: npm
- Package:
openclaw - Affected:
<= 2026.2.21-2 - Patched (planned next release):
>= 2026.2.22
Default Installations
Default installs are not impacted by this specific path because sort is not included in default tools.exec.safeBins.
Impact
- Type: approval/allowlist bypass in optional safe-bin configuration
- Scope: deployments that explicitly include
sortintools.exec.safeBinsand useallowlist + ask=on-miss - Consequence: an external program may run under the OpenClaw process context without expected approval
Technical Details
sortsafe-bin profile allowed--compress-programas a value flag.- Safe-bin satisfaction could therefore mark allowlist checks as satisfied.
- In
ask=on-miss, satisfied allowlist checks skip approval prompts.
Fix
- Block
--compress-programin safe-bin sort policy. - Add unit and e2e regression coverage for
sort --compress-programdenial in safe-bin mode.
Fix Commit(s)
57fbbaebca4d34d17549accf6092ae26eb7b605c
OpenClaw thanks @tdjackey for reporting.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | openclaw | < 2026.2.22 | 2026.2.22 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-4gc7-qcvf-38wg
- https://nvd.nist.gov/vuln/detail/CVE-2026-32010
- https://github.com/openclaw/openclaw/commit/57fbbaebca4d34d17549accf6092ae26eb7b605c
- https://github.com/openclaw/openclaw
- https://www.vulncheck.com/advisories/openclaw-allowlist-bypass-via-sort-compress-program-parameter
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-184, CWE-78- Platform
- npm
- Package
openclaw- Disclosed
- 03.03.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4gc7-qcvf-38wg - CC BY 4.0
Vulnerability history: openclaw
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 588
- First → latest
- 02.2026 07.2026
- Without a fix
- 9
- Exploited in attacks
- 0
Severity breakdown
- Critical 20
- High 215
- Medium 299
- Low 54
Disclosures per year
- 2026: 588
-
In OpenClaw, manually adding sort to tools.exec.safeBins could bypass allowlist approval via --compress-program this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.