Skip to main content
EPSS 0.5%top 58%

Openclaw cli: OpenClaw macOS companion app (beta): allowlist parsing mismatch for system.run shell chains (CVE-2026-31993)

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

Description

A parsing mismatch vulnerability in the beta macOS companion app of OpenClaw CLI allows shell-chain payloads to bypass allowlist checks in the system.run command under specific conditions. This requires an authenticated caller with operator.write permission, a paired macOS beta node host, and exec approvals configured to security=allowlist with ask=on-miss. Default installs are not affected. The issue is fixed in the planned next release 2026.2.22.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
<2026.7.1

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:03 UTC

Technical Analysis

The OpenClaw CLI macOS companion app (beta) contains a vulnerability (CVE-2026-31993) where a parsing mismatch in exec approvals can allow shell-chain commands to pass allowlist checks improperly in the system.run function. This occurs only when the caller is authenticated with operator.write privileges, the macOS node is in beta, and exec approvals are set to security=allowlist and ask=on-miss. The vulnerability enables execution of shell-chain commands from an incomplete command view on the paired macOS host. The fix involves hardening allowlist resolution by evaluating shell chains segment-by-segment and failing closed on unsafe shell-substitution parsing. The vulnerability affects openclaw npm package versions up to 2026.2.21-2 and is planned to be patched in version 2026.2.22.

Potential Impact

An authenticated user with operator.write permissions on a paired macOS beta node can execute shell-chain commands that bypass allowlist checks under specific exec approval settings. This could lead to unauthorized command execution on the macOS host. Default installations are not affected, limiting exposure to beta users with specific configurations.

Mitigation Recommendations

A patch is available and planned for the next release version 2026.2.22. Users running affected versions (<=2026.2.21-2) should upgrade to version 2026.2.22 or later once released. Since this vulnerability affects only the beta macOS companion app with specific exec approval settings, users not meeting these conditions are not impacted. No additional mitigation is required beyond applying the official fix when available.

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-31993
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6ac245c112601ec6a31670a9

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

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

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

Views: 3

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