Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-3h2q-j2v4-6w5r

GHSA-3h2q-j2v4-6w5r: OpenClaw's system.run allowlist approval parsing missed PowerShell encoded-command wrappers

March 9, 2026

OpenClaw’s system.run shell-wrapper detection did not recognize PowerShell -EncodedCommand forms as inline-command wrappers.

In allowlist mode, a caller with access to system.run could invoke pwsh or powershell using -EncodedCommand, -enc, or -e, and the request would fall back to plain argv analysis instead of the normal shell-wrapper approval path. This could allow a PowerShell inline payload to execute without the approval step that equivalent -Command invocations would require.

Latest published npm version: 2026.3.2

Fixed on main on March 7, 2026 in 1d1757b16f48f1a93cd16ab0ad7e2c3c63ce727d by recognizing PowerShell encoded-command aliases during shell-wrapper parsing, so allowlist mode continues to require approval for those payloads. Normal approved PowerShell wrapper flows continue to work.

References

  • github.com/advisories/GHSA-3h2q-j2v4-6w5r
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/1d1757b16f48f1a93cd16ab0ad7e2c3c63ce727d
  • github.com/openclaw/openclaw/releases/tag/v2026.3.7
  • github.com/openclaw/openclaw/security/advisories/GHSA-3h2q-j2v4-6w5r

Code Behaviors & Features

Detect and mitigate GHSA-3h2q-j2v4-6w5r 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 before 2026.3.7

Fixed versions

  • 2026.3.7

Solution

Upgrade to version 2026.3.7 or above.

Impact 5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs
  • CWE-863: Incorrect Authorization

Source file

npm/openclaw/GHSA-3h2q-j2v4-6w5r.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:18:25 +0000.