CVE-2026-32031

MEDIUM4.8EPSS 0.06%

OpenClaw: /api/channels gateway-auth boundary bypass via path canonicalization mismatch

發布日:2026/3/12修改日:2026/3/25

描述

### Summary Gateway auth for plugin channel endpoints can be bypassed when path canonicalization differs between the gateway guard and plugin handler routing. ### Details On affected versions, `server-http` only applies gateway auth when raw `requestPath` matches exactly: - `/api/channels` - `/api/channels/*` If a plugin handler canonicalizes path input (for example `decodeURIComponent(pathname).toLowerCase()`), requests like: - `/API/channels/nostr/default/profile` - `/api/channels%2Fnostr%2Fdefault%2Fprofile` can be interpreted as `/api/channels/*` by the plugin, while the gateway auth guard is skipped. ### Impact Authentication boundary bypass for plugin channel HTTP routes under canonicalization mismatch conditions. Unauthorized callers may access plugin channel APIs that are expected to require gateway auth. CWE: CWE-288 (Authentication Bypass Using an Alternate Path or Channel) CVSS: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N` (Base 5.3, Moderate)

受影響套件(1)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osvCVSS 3.1MEDIUM4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

參考連結(4)