Mattermost DCR redirect URI allowlist bypass via improper URL component validation
Summary
| CVE | CVE-2026-12985 |
|---|---|
| State | PUBLISHED |
| Assigner | Mattermost |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-14 15:17:04 UTC |
| Updated | 2026-10-07 17:58:56 UTC |
| 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 |
Risk And Classification
Primary CVSS: v3.1 9.3 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS: 0.002800000 probability, percentile 0.205420000 (date 2026-09-16)
Problem Types: CWE-601 | CWE-601 CWE-601: URL Redirection to Untrusted Site (“Open Redirect”)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.3 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| 3.1 | [email protected] | Secondary | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| 3.1 | CNA | CVSS | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mattermost | Mattermost Server | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mattermost | Mattermost | affected 11.9.0 11.9.0 semver | Not specified |
| CNA | Mattermost | Mattermost | affected 11.8.0 11.8.4 semver | Not specified |
| CNA | Mattermost | Mattermost | affected 11.7.0 11.7.7 semver | Not specified |
| CNA | Mattermost | Mattermost | unaffected 11.10.0 | Not specified |
| CNA | Mattermost | Mattermost | unaffected 11.9.1 | Not specified |
| CNA | Mattermost | Mattermost | unaffected 11.8.5 | Not specified |
| CNA | Mattermost | Mattermost | unaffected 11.7.8 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| mattermost.com/security-updates | [email protected] | mattermost.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: aryangurjarf401a3 (en)
Additional Advisory Data
Solutions
CNA: Update Mattermost to versions 11.10.0, 11.9.1, 11.8.5, 11.7.8 or higher.
There are currently no legacy QID mappings associated with this CVE.