CVE-2026-32065: OpenClaw: system.run approval identity mismatch could execute a different binary than displayed
OpenClaw 2026.2.24 and earlier identified a `system.run` approval by its rendered command text, which trims whitespace from argv tokens, while execution used the raw argv. A trailing space in the executable token could make a different binary run than the approver saw. Fixed in 2026.2.25.
Published Mar 2, 2026 · Updated Mar 30, 2026 · Analysis Oct 31, 2026
What an attacker can do
When an operator approves a system.run call, the approval is tied to the command as displayed. The display trims whitespace from each argv token. At execution time the runtime uses the raw argv, untrimmed. Those two views can differ: an executable token with a trailing space renders like the approved name but names another file.
An attacker who can influence the command argv and can reuse or obtain a matching approval context can therefore get a binary run that the operator never reviewed. That runs under the OpenClaw runtime user. This is an interpretation conflict (CWE-436) that defeats the operator approval boundary itself.
The score is moderate because it needs a high-complexity setup, low privileges and an approval step: the vector shows user interaction. The advisory also notes that OpenClaw does not treat adversarial multi-user sharing of one gateway host as a supported boundary, but says the finding holds in supported deployments because it breaks the approval check.
Who is affected
The openclaw npm package at 2026.2.24 and earlier, where system.run commands go through operator approval. Check your version:
npm ls -g openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.24
- Fixed in
- 2026.2.25
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.25 or later.
npm install -g [email protected]The fix commit is 03e689fc89bbecbcd02876a95957ef1ad9caa176. The advisory lists no workaround. Until you upgrade, read approval prompts for unusual executable names and avoid reusable approvals for commands whose argv comes from untrusted input.
How to tell if you were hit
Search exec logs for system.run argv entries where the first token has leading or trailing whitespace, or where the executed path differs from the approved command text. Check for binaries with a trailing space in their file names in the directories on the runtime user's path. Beam records agent shell commands, which lets you compare what ran with what was approved.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
system.run approvals in OpenClaw used rendered command text as the approval identity while trimming argv token whitespace. Runtime execution still used raw argv. A crafted trailing-space executable token could therefore execute a different binary than what the approver saw.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.24 - Patched versions:
>= 2026.2.25
Impact
This is an approval-integrity bypass that can lead to unexpected command execution under the OpenClaw runtime user when an attacker can influence command argv and reuse/obtain a matching approval context.
Trust Model Note
OpenClaw does not treat adversarial multi-user sharing of one gateway host/config as a supported security boundary. This finding is still valid in supported deployments because it breaks the operator approval boundary itself (approved display command vs executed argv).
Fix Commit(s)
03e689fc89bbecbcd02876a95957ef1ad9caa176
Release Process Note
patched_versions is pre-set to the release (2026.2.25). Advisory published with npm release 2026.2.25.
OpenClaw thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- What is the mismatch in CVE-2026-32065?
The approval used the rendered command text with trimmed whitespace, while execution used the raw argv. A trailing space in the executable token made the two differ.
- Does it need an attacker to control the command?
Yes. The advisory says the attacker must influence the command argv and reuse or obtain a matching approval context.
- Which version fixes it?
OpenClaw 2026.2.25 or later. Versions up to and including 2026.2.24 are affected.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
