GHSA-gp3q-wpq4-5c5h: OpenClaw: LINE group allowlist scope mismatch with DM pairing-store entries
In OpenClaw 2026.2.25 and earlier, LINE senders approved through DM pairing could also pass group allowlist checks, because the group allowlist inherited entries from the DM pairing store. A person you approved for direct messages could then talk to the agent in groups you scoped to an explicit list. Upgrade openclaw to 2026.2.26.
Published Mar 12, 2026 · Analysis Oct 31, 2026
What an attacker can do
OpenClaw keeps a pairing store of sender IDs approved through DM pairing. The group allowlist composition merged those entries in, so under the default DM pairing policy a DM-paired sender matched the group allowlist. This is an authorization scope mismatch (CWE-incorrect authorization). The advisory scores it as network, low privileges, with high integrity and low confidentiality impact.
The attacker is someone who got DM pairing approval, perhaps casually or for limited use. They can then send messages that the OpenClaw agent accepts in LINE groups, where the operator expected only explicitly listed senders. Since OpenClaw agents act on messages, such a sender can steer the agent in a group conversation. The commit also touches Mattermost, which had a similar merge, and adds regression tests for the LINE and Mattermost policy paths.
It does not give outsiders access. The sender must already be approved for DMs.
Who is affected
The openclaw npm package, all versions up to and including 2026.2.25, in LINE configurations that use a group allowlist alongside DM pairing. The commit also covers Mattermost.
npm ls -g openclaw
openclaw --versionTo see exposure, compare the sender IDs in your DM pairing store with the senders you meant to allow in each group.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.2.25
- Fixed in
- 2026.2.26
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.26 or later.
npm install -g openclaw@latestThe fix (commit 8bdda7a, with a follow-up refactor in 892a9c2) adds resolveGroupAllowFromSources, which uses the explicit group allowlist and never reads the pairing store. DM checks still merge the store. A new test confirms a group sender present only in the pairing store is blocked. The project documentation now states that DM pairing approvals apply only to DM access. The sources list no workaround. Until you upgrade, review the pairing store and remove senders who should not reach groups.
How to tell if you were hit
Review your pairing store for approved sender IDs, then check group message logs for those IDs in groups where they are not on the explicit group allowlist. Any group message handled from a DM-paired sender that is missing from the group allowlist indicates the mismatch was used. Beam records agent shell commands and file access, which shows what a steered agent did after such a message.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
In specific LINE configurations, sender IDs approved through DM pairing could also satisfy group allowlist checks when operators expected group sender access to be scoped only to explicit group allowlists.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published version at triage/update time:
2026.2.25 - Affected:
<= 2026.2.25 - Patched:
>= 2026.2.26(planned next release)
Impact
This is a group-authorization scope mismatch. DM pairing-store entries could influence group sender authorization in allowlist mode.
Technical Details
Root cause: group allowlist composition inherited pairing-store entries intended for DM approvals. Under default DM pairing policy, a DM-paired sender could match group allowlist checks.
Fixes on main:
- isolate group allowlist composition from pairing-store entries
- centralize shared DM/group allowlist composition to preserve DM-only pairing behavior
- add regression coverage for LINE and Mattermost policy paths
Fix Commit(s)
8bdda7a651c21e98faccdbbd73081e79cffe8be0892a9c24b0f6118729ab5b5f5499b1a7e792dd15(follow-up refactor hardening)
Release Process Note
patched_versions is pre-set to >= 2026.2.26 so once npm 2026.2.26 is published, this advisory can be published directly without additional version-field edits.
Thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Is there a CVE for this OpenClaw LINE advisory?
No CVE id appears in the advisory data. It is tracked as GHSA-gp3q-wpq4-5c5h.
- Can an unknown person exploit this?
No. The sender must already be approved through DM pairing. The flaw lets that approval carry over to group allowlist checks.
- Does the bug only affect LINE?
The advisory describes LINE. The fix commit also changes the Mattermost allowlist merge and adds tests for both channels.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
