Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-32023

OpenClaw's dispatch-wrapper depth-cap mismatch can bypass shell-wrapper approval gating in system.run allowlist mode
Back to all
CVE

CVE-2026-32023

OpenClaw's dispatch-wrapper depth-cap mismatch can bypass shell-wrapper approval gating in system.run allowlist mode

Summary

A wrapper-depth parsing mismatch in system.run allowed nested transparent dispatch wrappers (for example repeated /usr/bin/env) to suppress shell-wrapper detection while still matching allowlist resolution. In security=allowlist + ask=on-miss, this could bypass the expected approval prompt for shell execution.

Severity / Trust Model

OpenClaw’s documented model treats authenticated gateway callers as trusted operators and exec approvals as operator guardrails. This issue is still a real approval-boundary bypass and is triaged as Medium in that model.

Technical Details

  • Dispatch-wrapper unwrapping stopped at MAXDISPATCHWRAPPER_DEPTH.
  • Shell-wrapper extraction could return non-wrapper once depth was exhausted.
  • Allowlist resolution could still succeed on partially unwrapped argv beginning with /usr/bin/env.
  • Result: nested wrapper chains could execute /bin/sh -c ... without fresh approval in allowlist + ask=on-miss.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published version at triage time: 2026.2.23
  • Vulnerable versions: <= 2026.2.23
  • Patched versions (planned next release): >= 2026.2.24

Fix Commit(s)

  • 57c9a18180c8b14885bbd95474cbb17ff2d03f0b

Verification

  • Added regression coverage for depth-overflow wrapper chains at resolution and system.run invocation layers.
  • Reproduced previous PoC behavior before fix, then confirmed denial after fix with SYSTEMRUNDENIED: approval required.

Release Process Note

patched_versions is pre-set to the planned next release (2026.2.24) so once npm publish is complete, advisory publication can proceed without additional version edits.

OpenClaw thanks @tdjackey for reporting.

Publication Update (2026-02-25)

openclaw@2026.2.24 is published on npm and contains the fix commit(s) listed above. This advisory now marks >= 2026.2.24 as patched.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
6
-
4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
7.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Related Resources

No items found.

References

https://github.com/openclaw/openclaw/security/advisories/GHSA-ccg8-46r6-9qgj, https://nvd.nist.gov/vuln/detail/CVE-2026-32023, https://github.com/openclaw/openclaw/commit/57c9a18180c8b14885bbd95474cbb17ff2d03f0b, https://github.com/openclaw/openclaw, https://www.vulncheck.com/advisories/openclaw-approval-gating-bypass-via-dispatch-wrapper-depth-cap-mismatch-in-system-run

Severity

7.1

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.1
EPSS Probability
0.0005%
EPSS Percentile
0.15604%
Introduced Version
0,2026.2.23-beta.1,2026.2.22,2026.2.15,2026.2.13,2026.2.6-1,2026.2.2,2026.1.29-beta.1,2026.1.27-beta.1,2026.1.21,2026.1.20
Fix Available
2026.2.24

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading