Skip to main content

Openclaw cli: OpenClaw's commands.allowFrom sender authorization accepted conversation identifiers via ctx.From

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

Description

OpenClaw CLI versions prior to 2026.2.23 had a vulnerability in the command authorization logic where conversation identifiers in the allowlist could authorize unintended participants. This occurred because the system treated conversation identities as valid senders, broadening command execution permissions beyond the intended sender. The issue was fixed in version 2026.2.23 by restricting authorization checks to sender-only identities and excluding conversation identifiers except as a fallback in direct-message contexts.

CVSS v4.0

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

Affected software

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

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:16:47 UTC

Technical Analysis

The vulnerability in OpenClaw CLI (npm package) versions <= 2026.2.22-2 involved the `commands.allowFrom` feature, which is intended as a sender authorization allowlist for commands. The root cause was that the function `resolveSenderCandidates()` always included `ctx.From` in sender candidate evaluation, but `ctx.From` could represent a conversation identity (e.g., Discord channel or WhatsApp group) rather than a single sender. This allowed participants in a conversation to gain command authorization if the allowlist contained conversation-like identifiers, effectively broadening command permissions. The fix, released in version 2026.2.23, changed the logic to treat `commands.allowFrom` strictly as sender-only, excluding `ctx.From` unless no other sender fields exist and the value is not conversation-shaped. Regression tests were added to ensure correct behavior.

Potential Impact

Affected versions allowed command or directive authorization to be granted to unintended users within a conversation or group context when conversation identifiers were used in the allowlist. This could enable unauthorized participants in a channel or group to execute commands intended only for specific senders, potentially leading to unauthorized command execution within the affected environment.

Mitigation Recommendations

A patch is available in OpenClaw CLI version 2026.2.23 that addresses this issue by restricting command authorization to sender-only identities and excluding conversation identifiers from sender candidate evaluation. Users should upgrade to version 2026.2.23 or later to remediate this vulnerability. No additional mitigation steps are required beyond applying the official fix.

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-GHSA-2ch6-x3g4-7759
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6ac245d312601ec6a3168012

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

Last enriched: 10/04/2026, 13:16:47 UTC

Last updated: 10/04/2026, 13:16:47 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