Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-5gj7-jf77-q2q2

GHSA-5gj7-jf77-q2q2: OpenClaw: safeBins static default trusted dirs allow writable-dir binary hijack (`jq`)

March 3, 2026

In openclaw<=2026.2.23, safe-bin trust in allowlist mode relied on static default trusted directories that included package-manager paths (notably /opt/homebrew/bin and /usr/local/bin). When a same-name binary (for example jq) is placed in one of those trusted default directories, safe-bin evaluation can be satisfied and execute the attacker-controlled binary.

References

  • github.com/advisories/GHSA-5gj7-jf77-q2q2
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/b67e600bff696ff2ed9b470826590c0ce6b3bb0a
  • github.com/openclaw/openclaw/security/advisories/GHSA-5gj7-jf77-q2q2

Code Behaviors & Features

Detect and mitigate GHSA-5gj7-jf77-q2q2 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.24

Fixed versions

  • 2026.2.24

Solution

Upgrade to version 2026.2.24 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-428: Unquoted Search Path or Element
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/openclaw/GHSA-5gj7-jf77-q2q2.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:34 +0000.