Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-4gc7-qcvf-38wg

GHSA-4gc7-qcvf-38wg: In OpenClaw, manually adding sort to tools.exec.safeBins could bypass allowlist approval via --compress-program

March 3, 2026

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.

References

  • github.com/advisories/GHSA-4gc7-qcvf-38wg
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/57fbbaebca4d34d17549accf6092ae26eb7b605c
  • github.com/openclaw/openclaw/security/advisories/GHSA-4gc7-qcvf-38wg

Code Behaviors & Features

Detect and mitigate GHSA-4gc7-qcvf-38wg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.2.22

Fixed versions

  • 2026.2.22

Solution

Upgrade to version 2026.2.22 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/openclaw/GHSA-4gc7-qcvf-38wg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:12 +0000.