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

CVE-2026-12985 affects 13 listed versions of Mattermost in the Dawnsentry catalogue.

9.3CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
14 September 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Mattermost

13 of 250 listed versions are affected. Fixed in 11.9.1, 11.8.5, 11.7.8. The newest release, 12.1.0, is not affected.

11.9.0 11.8.4 11.8.3 11.8.2 11.8.1 11.8.0 11.7.7 11.7.6 11.7.5 11.7.4 11.7.3 11.7.2 11.7.1

What it is

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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N (NVD)

Published by Mattermost on 14 September 2026. Last changed 7 October 2026.

Sources

Check one version you run: look CVE-2026-12985 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.