Advisory details:
github_osv / GHSA-gw85-xp4q-5gp9
| Advisory ID | github_osv/GHSA-gw85-xp4q-5gp9 |
| Aliases |
CVE-2026-31998
|
| Summary | OpenClaw's Synology Chat dmPolicy=allowlist failed open on empty allowedUserIds, allowing unauthorized agent dispatch ### Summary In `openclaw` versions `2026.2.22` and `2026.2.23`, the optional `synology-chat` channel plugin had an authorization fail-open condition: when `dmPolicy` was `allowlist` and `allowedUserIds` was empty/unset, unauthorized senders were still allowed through to agent dispatch. This is assessed as **medium** severity because it requires channel/plugin setup and Synology sender access, but can still trigger downstream agent/tool actions. ### Affected Packages / Versions - Package: `openclaw` (npm) - Affected versions: `>= 2026.2.22, <= 2026.2.23` - Latest published affected version at patch time: `2026.2.23` - Planned patched version: `2026.2.24` ### Details Root cause was a policy mismatch across plugin code paths: 1. Default resolved DM policy was `allowlist`. 2. Empty `allowedUserIds` was treated as allow-all. 3. Webhook auth in allowlist mode depended on that helper. Result: `allowlist` with empty list behaved like open access for inbound Synology senders. ### Fix Commit(s) - `0ee30361b8f6ef3f110f3a7b001da6dd3df96bb5` - `7655c0cb3a47d0647cbbf5284e177f90b4b82ddb` ### Release Process Note `patched_versions` is pre-set to the planned next release (`>= 2026.2.24`). Once npm release `2026.2.24` is published, the advisory can be published directly. OpenClaw thanks @tdjackey for reporting. ### Publication Update (2026-02-25) `openclaw@2026.2.24` is published on npm and contains the fix commit(s) listed above. This advisory now marks `>= 2026.2.24` as patched. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 4.8 |
| Risk | 2.4 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| CWE-284 | Improper Access Control |
| CWE-863 | Incorrect Authorization |
| System | Score | Found at |
|---|---|---|
| cvssv4 | 5.3 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-gw85-xp4q-5gp9/GHSA-gw85-xp4q-5gp9.json |
| generic_textual | MODERATE |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| 0ee30361b8f6ef3f110f3a7b001da6dd3df96bb5 | Other | https://github.com/openclaw/openclaw/commit/0ee30361b8f6ef3f110f3a7b001da6dd3df96bb5 |
| 7655c0cb3a47d0647cbbf5284e177f90b4b82ddb | Other | https://github.com/openclaw/openclaw/commit/7655c0cb3a47d0647cbbf5284e177f90b4b82ddb |
| CVE-2026-31998 | https://nvd.nist.gov/vuln/detail/CVE-2026-31998 | |
| GHSA-gw85-xp4q-5gp9 | Advisory | https://github.com/openclaw/openclaw/security/advisories/GHSA-gw85-xp4q-5gp9 |
| openclaw-authorization-bypass-in-synology-chat-plugin-via-empty-alloweduserids | Advisory | https://www.vulncheck.com/advisories/openclaw-authorization-bypass-in-synology-chat-plugin-via-empty-alloweduserids |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
There are no SSVC decisions available.