8.5high
OpenClaw < 2026.5.18 - Command Truncation in Exec Approval Display
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-xww8-gqvh-92x9
Description
OpenClaw before 2026.5.18 contains an approval display truncation vulnerability allowing authenticated users to hide command suffixes from approvers. Attackers can submit oversized exec commands with benign prefixes and malicious suffixes to execute unauthorized operations after approval.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.5.18 Not affected: 2026.5.18 | CVE List, NVD |
| openclaw (npm) | before 2026.5.18 | GitHub Advisory Database |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
OpenClaw before 2026.5.18 contains an approval display truncation vulnerability allowing authenticated users to hide command suffixes from approvers. Attackers can submit oversized exec commands with benign prefixes and malicious suffixes to execute unauthorized operations after approval.
GitHub Advisory Database
Summary
OpenClaw exec approvals could show a shortened command in the approval UI while keeping the full original command for execution. For very long commands, an approver could see and approve a benign-looking prefix while a hidden suffix remained part of the command that would run after approval.
This issue affects the approval display and binding for oversized exec commands. It does not make exec available to unauthenticated users, and it does not change OpenClaw's local-first trust model.
Affected configurations
This affects deployments where exec approval is enabled and an authenticated caller can create a pending host exec request with a command long enough to be truncated in the approval view.
Impact
An approver could make a decision from incomplete command text. If the hidden suffix contained additional shell operations, those operations could run after the approval was resolved.
The practical impact depends on who can request exec approvals and who is allowed to approve them. The issue is an approval integrity problem: the approval surface did not faithfully represent the command that would execute.
Patched Versions
The first stable patched version is 2026.5.18.
Mitigations
Upgrade to openclaw@2026.5.18 or later. Before upgrading, avoid approving unusually long exec commands and keep approval capability limited to trusted operators.
NVD (es)
OpenClaw anterior a 2026.5.18 contiene una vulnerabilidad de truncamiento de visualización de aprobación que permite a usuarios autenticados ocultar sufijos de comandos a los aprobadores. Los atacantes pueden enviar comandos exec sobredimensionados con prefijos benignos y sufijos maliciosos para ejecutar operaciones no autorizadas después de la aprobación.
References
| https://github.com/openclaw/openclaw/security/advisories/GHSA-xww8-gqvh-92x9 | mitigation, vendor-advisory, web | |
| https://www.vulncheck.com/advisories/openclaw-command-truncation-in-exec-approval-display | third-party-advisory | |
| https://github.com/openclaw/openclaw | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53829 changed 2026-06-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xww8-gqvh-92x9 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2026-53829 changed 2026-07-23 | Public domain |