Skip to main content
EPSS 0.3%top 76%

Openclaw cli: OpenClaw's system.run approvals did not bind mutable script operands across approval and execution (CVE-2026-32921)

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

Description

OpenClaw CLI versions up to 2026.3.7 have a vulnerability in the system.run approval flow where mutable script operands were not properly bound across approval and execution. This allowed an attacker to modify the script content after approval but before execution, causing different code to run under an approved command shape. The issue was fully fixed in version 2026.3.8 by binding approved script operands to on-disk file snapshots, preventing post-approval script drift.

CVSS v3.1

Score 6.3medium

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

Affected software

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

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, 12:59:48 UTC

Technical Analysis

The OpenClaw CLI's system.run approval mechanism did not correctly bind mutable interpreter-style script operands, such as shell scripts and scripts run via bun or deno, across the approval and execution phases. This flaw permitted a caller to obtain approval for a command like 'sh ./script.sh', then alter the script file before execution, resulting in execution of unapproved content while retaining the originally approved command arguments. Initial fixes addressed shell scripts and a limited interpreter set, but bun and deno operands remained vulnerable until a complete fix was released. The vulnerability affects OpenClaw CLI versions from 2026.1.29 up to but not including 2026.3.8, with the patch applied in 2026.3.8.

Potential Impact

An attacker with the ability to modify script files after approval but before execution could execute arbitrary code that was not originally approved, potentially leading to unauthorized command execution and associated confidentiality, integrity, and availability impacts. The CVSS score of 6.3 reflects a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction.

Mitigation Recommendations

Users should upgrade OpenClaw CLI to version 2026.3.8 or later, which contains the complete fix binding approved script operands to immutable on-disk snapshots, preventing script content changes after approval. No additional mitigation is required once the update 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-32921
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245b412601ec6a3166b4a

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

Last enriched: 10/04/2026, 12:59:48 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