CVE-2026-12985

Source
https://cve.org/CVERecord?id=CVE-2026-12985
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12985.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-12985
Published
2026-09-14T14:09:53Z
Modified
2026-10-28T02:31:05Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Mattermost DCR redirect URI allowlist bypass via improper URL component validation
Details

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

Database specific
{
    "cna_assigner": "Mattermost",
    "cwe_ids": [
        "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12985.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "11.9.0"
                        },
                        {
                            "last_affected": "11.9.0"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                }
            ]
        },
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "11.8.0"
                        },
                        {
                            "last_affected": "11.8.4"
                        },
                        {
                            "introduced": "11.7.0"
                        },
                        {
                            "last_affected": "11.7.7"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mattermost/mattermost

Affected ranges

Type
GIT
Repo
https://github.com/mattermost/mattermost
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "11.7.0"
                },
                {
                    "fixed": "11.7.8"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "11.8.0"
                },
                {
                    "fixed": "11.8.5"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "11.9.0"
                },
                {
                    "fixed": "11.9.1"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

@mattermost/client@11.*
@mattermost/client@11.7.0
@mattermost/client@11.8.0
@mattermost/client@11.9.0
@mattermost/shared@11.*
@mattermost/shared@11.7.0
@mattermost/shared@11.8.0
@mattermost/shared@11.9.0
@mattermost/types@11.*
@mattermost/types@11.7.0
@mattermost/types@11.8.0
@mattermost/types@11.9.0
mattermost-redux@11.*
mattermost-redux@11.7.0
mattermost-redux@11.8.0
mattermost-redux@11.9.0
v11.*
v11.7.0
v11.7.1
v11.7.2
v11.7.3
v11.7.4
v11.7.5
v11.7.5-rc1
v11.7.6
v11.7.7
v11.8.0
v11.8.0-rc5
v11.8.1
v11.8.2
v11.8.3
v11.8.4
v11.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12985.json"