Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-xww8-gqvh-92x9: OpenClaw: Exec approval display truncation could hide the command being approved

0
High
Published: 07/02/2026 (07/02/2026, 15:40:36 UTC)
Source: GCVE Database
Product: openclaw

Description

OpenClaw versions prior to 2026.5.18 have a vulnerability in the exec approval UI where very long commands are truncated in the display, potentially hiding the full command from the approver. This truncation can cause an approver to unknowingly approve a command with a hidden suffix that executes additional operations. The issue affects deployments with exec approval enabled and requires both an authenticated requester and an approver. The vulnerability compromises approval integrity but does not expose exec functionality to unauthenticated users or alter the local-first trust model. A fix is available in version 2026.5.18.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

npmghsa
openclaw
Affected versions
<2026.5.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:22:15 UTC

Technical Analysis

OpenClaw's exec approval mechanism truncates long commands in the approval UI, showing only a shortened prefix while retaining the full command for execution. This discrepancy allows an approver to approve a benign-looking command prefix while a hidden suffix executes additional shell operations after approval. The vulnerability affects configurations where exec approval is enabled and an authenticated user can submit long exec requests. It does not grant exec access to unauthenticated users nor change the trust model. The issue is an approval integrity flaw, potentially leading to unintended command execution. The vulnerability is patched in OpenClaw version 2026.5.18.

Potential Impact

An attacker who can submit long exec commands and an approver who reviews these commands may be misled by the truncated display, approving commands that contain hidden malicious suffixes. This can lead to execution of unintended shell operations with the privileges of the approver. The severity is high due to the potential for command execution with elevated privileges, but exploitation requires both an authenticated requester and an approver, limiting the attack surface.

Mitigation Recommendations

Upgrade OpenClaw to version 2026.5.18 or later, where this truncation issue is fixed. Until upgrading, avoid approving unusually long exec commands and restrict approval capabilities to trusted operators only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-xww8-gqvh-92x9
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a46ecd427e9c7971943f39e

Added to database: 07/02/2026, 22:57:24 UTC

Last enriched: 07/02/2026, 23:22:15 UTC

Last updated: 07/02/2026, 23:22:15 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses