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

CVE-2026-41392: OpenClaw: Shell init-file options could satisfy exec allowlist script matching

April 7, 2026 (updated May 6, 2026)

Before OpenClaw 2026.3.31, exec allowlist matching could treat shell init-file wrapper invocations as if the approved script itself were being executed. Shell options such as --rcfile, --init-file, and --startup-file could therefore inherit allowlist trust from a matched script path even though the shell loaded attacker-chosen initialization first.

References

  • github.com/advisories/GHSA-wpc6-37g7-8q4w
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/0c8375424620e12777ef24c162eedc7e9fcfd7e3
  • github.com/openclaw/openclaw/security/advisories/GHSA-wpc6-37g7-8q4w
  • nvd.nist.gov/vuln/detail/CVE-2026-41392
  • www.vulncheck.com/advisories/openclaw-exec-allowlist-bypass-via-shell-init-file-options

Code Behaviors & Features

Detect and mitigate CVE-2026-41392 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.31

Fixed versions

  • 2026.3.31

Solution

Upgrade to version 2026.3.31 or above.

Impact 6.7 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs

Source file

npm/openclaw/CVE-2026-41392.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:19:01 +0000.