CVE-2026-12985: Mattermost DCR redirect URI allowlist bypass via improper URL component validation
Vulnerability summary
CVE-2026-12985 is a critical (CVSS 9.3) URL Redirection to Untrusted Site vulnerability in mattermost. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20% of scored vulnerabilities.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 14-09-2026PublishedVulnerability first disclosed.
- 15-09-2026Last modifiedVulnerability information updated.
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
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Mattermost2 products
- mattermost11.9.0 | ≥ 11.8.0, ≤ 11.8.4 | ≥ 11.7.0, ≤ 11.7.7
- mattermost_server≥ 11.7.0, < 11.7.8 | ≥ 11.8.0, < 11.8.5 | ≥ 11.9.0, < 11.9.1
1 vendor · 2 products
References
1 links- mattermost.com/security-updatesVendor Advisory