# CVE-2026-12985: Mattermost DCR redirect URI allowlist bypass via improper URL component validation

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-14 · Modified: 2026-09-15
- Record: https://cvemate.com/vulnerability/CVE-2026-12985 · JSON: https://cvemate.com/vulnerability/CVE-2026-12985/json

## Description

```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
```

## Signals

- CVSS: 9.3 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- EPSS: 0.268%, percentile 20.088%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mattermost mattermost: 11.9.0 \| ≥ 11.8.0, ≤ 11.8.4 \| ≥ 11.7.0, ≤ 11.7.7
- mattermost mattermost\_server: ≥ 11.7.0, \< 11.7.8 \| ≥ 11.8.0, \< 11.8.5 \| ≥ 11.9.0, \< 11.9.1

## References

- <https://mattermost.com/security-updates>

---

Data as of 2026-12-05T18:39:19.896Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
