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

- Severity: Medium 6.8 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2026-09-14T14:09:53.799Z
- Modified: 2026-10-07T17:58:56.437Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Mattermost

## Description

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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 11.9.0 up to 11.9.0; from 11.8.0 up to 11.8.4; from 11.7.0 up to 11.7.7 (not affected: 11.10.0; 11.9.1; 11.8.5; 11.7.8)
- mattermost mattermost_server: from 11.7.0 before 11.7.8; from 11.8.0 before 11.8.5; from 11.9.0 before 11.9.1

## Every score

- Mattermost: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-12985](https://www.cve.org/CVERecord?id=CVE-2026-12985), CVE Terms of Use, modified 2026-09-15
- NVD: [CVE-2026-12985](https://nvd.nist.gov/vuln/detail/CVE-2026-12985), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-12985 · Whole record: https://cve.day/CVE-2026-12985.json · Rebuilt by cve.day 2026-11-25T22:59:38.279Z
