# GHSA-gp3q-wpq4-5c5h: OpenClaw: LINE group allowlist scope mismatch with DM pairing-store entries

> Attackers can bypass group allowlist restrictions by leveraging DM pairing entries, allowing unauthorized access to LINE groups.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 12 Mar 2026

## What is GHSA-gp3q-wpq4-5c5h?

GHSA-gp3q-wpq4-5c5h is a missing authorization vulnerability in openclaw, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

### 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)
- `8bdda7a651c21e98faccdbbd73081e79cffe8be0`
- `892a9c24b0f6118729ab5b5f5499b1a7e792dd15` (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.

## Which versions are affected by GHSA-gp3q-wpq4-5c5h?

2 open source packages ship an affected version, including openclaw.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `openclaw` | npm | All versions | 2026.2.26 |
| `openclaw` | npm | All versions | 2026.2.26 |

## How do I fix GHSA-gp3q-wpq4-5c5h?

Upgrade openclaw to 2026.2.26 or later.

## Is GHSA-gp3q-wpq4-5c5h being exploited?

There is no known exploitation of GHSA-gp3q-wpq4-5c5h in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-gp3q-wpq4-5c5h and fix it if it is affected.

What it is: GHSA-gp3q-wpq4-5c5h is a missing authorization vulnerability in openclaw, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-gp3q-wpq4-5c5h in the wild and no public exploit code.

Affected packages and fixed versions:
- openclaw (npm): affected all versions; fixed in 2026.2.26
- openclaw (npm): affected all versions; fixed in 2026.2.26

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-gp3q-wpq4-5c5h/ (Markdown: https://insights.sbomify.com/GHSA-gp3q-wpq4-5c5h/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-gp3q-wpq4-5c5h

---
From sbomify Insights: https://insights.sbomify.com/GHSA-gp3q-wpq4-5c5h/
Summaries are generated and may contain mistakes; the official description above is the record.
