Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-xgf2-vxv2-rrmg

GHSA-xgf2-vxv2-rrmg: OpenClaw's shell startup env injection bypasses system.run allowlist intent (RCE class)

March 3, 2026

system.run environment sanitization allowed shell-startup env overrides (HOME, ZDOTDIR) that can execute attacker-controlled startup files before allowlist-evaluated command bodies.

References

  • github.com/advisories/GHSA-xgf2-vxv2-rrmg
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/c2c7114ed39a547ab6276e1e933029b9530ee906
  • github.com/openclaw/openclaw/security/advisories/GHSA-xgf2-vxv2-rrmg

Code Behaviors & Features

Detect and mitigate GHSA-xgf2-vxv2-rrmg 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.2.22

Fixed versions

  • 2026.2.22

Solution

Upgrade to version 2026.2.22 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-15: External Control of System or Configuration Setting
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/openclaw/GHSA-xgf2-vxv2-rrmg.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:19:21 +0000.