CVE-2026-12985Mattermost Server
OAuth Redirect URI Validation Bypass in Mattermost Server
Critical 9.3 No auth needed
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 14, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
Mattermost Server versions 11.7.x, 11.8.x, and 11.9.x fail to properly validate redirect URIs during dynamic OAuth client registration. An unauthenticated remote attacker can register an OAuth client with an attacker-controlled callback host, bypassing the configured redirect URI allowlist by crafting a malicious redirect URI that places an allowlisted host/path inside the query string.
Show the original NVD text
Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7.x <= 11.7.7 Mattermost failed to validate Dynamic Client Registration redirect URIs by URL component (matching glob patterns against the raw URI string instead) which allows a remote unauthenticated attacker to register an OAuth client with an attacker-controlled callback host that bypasses the configured redirect URI allowlist via a crafted redirect URI that places an allowlisted host/path suffix inside the query string.. Mattermost Advisory ID: MMSA-2026-00700
What to do
Patch available · fixed versions: 11.7.8, 11.8.5, 11.9.1
Update Mattermost Server to version 11.7.8, 11.8.5, or 11.9.1 depending on your current branch.
- Apply the vendor's security update for Mattermost Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 11.7.0 < 11.7.8 |
| mattermost | mattermost_server | ≥ 11.8.0 < 11.8.5 |
| mattermost | mattermost_server | ≥ 11.9.0 < 11.9.1 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory