Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-22217

CVE-2026-22217: OpenClaw: shell-env trusted-prefix fallback allowed attacker-controlled binary execution via $SHELL

March 3, 2026 (updated March 18, 2026)

shell-env fallback trusted prefix-based executable paths for $SHELL, allowing execution of attacker-controlled binaries in local/runtime-env influence scenarios.

References

  • github.com/advisories/GHSA-p4wh-cr8m-gm6c
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/security/advisories/GHSA-p4wh-cr8m-gm6c
  • nvd.nist.gov/vuln/detail/CVE-2026-22217

Code Behaviors & Features

Detect and mitigate CVE-2026-22217 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2026.2.22 before 2026.2.23

Fixed versions

  • 2026.2.23

Solution

Upgrade to version 2026.2.23 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-184: Incomplete List of Disallowed Inputs
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/openclaw/CVE-2026-22217.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:16:42 +0000.