OpenClaw: Exec approval display truncation could hide the command being approved
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-284.
Summary
### 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 `[email protected]` or later. Before upgrading, avoid approving unusually long exec commands and keep approval capability limited to trusted operators.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | openclaw (npm) | before 2026.5.18 | 2026.5.18 | Patch available | GHSA-xww8-gqvh-92x9 |
- openclaw (npm) Vendor— Affected before 2026.5.18 Fixed in 2026.5.18 Patch available GHSA-xww8-gqvh-92x9
Remediation
- Fix · GHSA-xww8-gqvh-92x9 openclaw (npm) Fixed in 2026.5.18 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-xww8-gqvh-92x9
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences