Skip to main content
EPSS 0.2%top 93%

Openclaw cli: OpenClaw's Node system.run approval hardening wrapper semantic drift can execute unintended local scripts (CVE-2026-29608)

0
Medium
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

OpenClaw CLI version 2026.3.1 contains a vulnerability in its node system.run approval wrapper that causes a semantic drift in command execution. The wrapper rewrites the command arguments in a way that the approved command text shown to the operator can differ from the actual executed command, potentially running unintended local scripts. This occurs when the wrapper argv is rewritten, causing the shell to interpret an extra positional argument as a script path. The issue is fixed in version 2026.3.2.

CVSS v3.1

Score 6.7medium

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

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
>=2026.3.1 <2026.3.2

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: 10/04/2026, 13:07:53 UTC

Technical Analysis

In [email protected], the node system.run approval-path hardening rewrites the wrapper command argv, changing execution semantics. Specifically, argv[0] is rewritten to the resolved executable, causing commands like ['env','sh','-c','echo SAFE'] to become ['/bin/sh','sh','-c','echo SAFE']. This leads to the shell interpreting the extra 'sh' argument as a script path, enabling execution of a local './sh' file in the approved working directory instead of the intended shell payload. This breaks approval integrity by allowing divergence between the operator-visible command and the actual executed behavior. The vulnerability requires an attacker to influence the wrapper argv and place a local file in the approved working directory, with the operator approving the displayed command. The issue is patched in [email protected].

Potential Impact

The vulnerability allows an attacker who can influence the wrapper argv and place a local file in the approved working directory to cause the system to execute an unintended local script instead of the approved command. This breaks the integrity of the approval process, potentially leading to execution of malicious code with the privileges of the approved command. The impact includes high confidentiality, integrity, and availability consequences as indicated by the CVSS score.

Mitigation Recommendations

A fix is available and has been released in [email protected]. Users should upgrade to this version to resolve the vulnerability. No additional mitigation actions are required if the patch is applied.

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
BREW-openclaw-cli-CVE-2026-29608
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245c412601ec6a31670b8

Added to database: 10/04/2026, 12:25:40 UTC

Last enriched: 10/04/2026, 13:07:53 UTC

Last updated: 10/04/2026, 16:08:37 UTC

Views: 1

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