Mattermost <=11.9.0 Unauth OAuth CR Bypass via Malformed URI
CVE-2026-12985 Published on September 14, 2026
Mattermost DCR redirect URI allowlist bypass via improper URL component validation
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
Vulnerability Analysis
CVE-2026-12985 can be exploited with network access, requires user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is an Open Redirect Vulnerability?
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks. An http parameter may contain a URL value and could cause the web application to redirect the request to the specified URL. By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials. Because the server name in the modified link is identical to the original site, phishing attempts have a more trustworthy appearance.
CVE-2026-12985 has been classified to as an Open Redirect vulnerability or weakness.
Products Associated with CVE-2026-12985
Want to know whenever a new CVE is published for MatterMost? stack.watch will email you.
Affected Versions
Mattermost:- Version 11.9.0, <= 11.9.0 is affected.
- Version 11.8.0, <= 11.8.4 is affected.
- Version 11.7.0, <= 11.7.7 is affected.
- Version 11.10.0 is unaffected.
- Version 11.9.1 is unaffected.
- Version 11.8.5 is unaffected.
- Version 11.7.8 is unaffected.