CVE-2026-12985 PUBLISHED

Mattermost DCR redirect URI allowlist bypass via improper URL component validation

Assigner: Mattermost
Reserved: 23.06.2026 Published: 14.09.2026 Updated: 14.09.2026

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

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS Score: 6.8

Product Status

Vendor Mattermost
Product Mattermost
Versions Default: unaffected
  • affected from 11.9.0 to 11.9.0 (incl.)
  • affected from 11.8.0 to 11.8.4 (incl.)
  • affected from 11.7.0 to 11.7.7 (incl.)
  • Version 11.10.0 is unaffected
  • Version 11.9.1 is unaffected
  • Version 11.8.5 is unaffected
  • Version 11.7.8 is unaffected

Solutions

Update Mattermost to versions 11.10.0, 11.9.1, 11.8.5, 11.7.8 or higher.

Credits

  • aryangurjarf401a3 finder

References

Problem Types

  • CWE-601: URL Redirection to Untrusted Site (“Open Redirect”) CWE