Skip to content
OpenAdvisories
High · 8.1 CVE-2025-58073 EUVD-2025-34740GHSA-6q7m-p8cc-998rGO-2025-4032

Arbitrary Mattermost Team can be joined by manipulating the OAuth state

Published Oct 16, 2025 · Updated Feb 26, 2026 · Assigned by Mattermost

Description

Mattermost versions 10.11.x <= 10.11.1, 10.10.x <= 10.10.2, 10.5.x <= 10.5.10 fail to verify a user has permission to join a Mattermost team using the original invite token which allows any attacked to join any team on a Mattermost server regardless of restrictions via manipulating the OAuth state.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 10.11.0 – ≤ 10.11.1, 10.10.0 – ≤ 10.10.2, 10.5.0 – ≤ 10.5.10 10.12.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20251105T184115-1.1 openSUSE-SU-2025:15710-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.2 10.11.2 GHSA-6q7m-p8cc-998r
Go github.com/mattermost/mattermost-server >= 10.10.0, < 10.10.3 10.10.3 GHSA-6q7m-p8cc-998r
Go github.com/mattermost/mattermost-server >= 10.5.0, < 10.5.11 10.5.11 GHSA-6q7m-p8cc-998r
Go github.com/mattermost/mattermost-server >= 10.5.0+incompatible, < 10.5.11+incompatible · >= 10.10.0+incompatible, < 10.10.3+incompatible · >= 10.11.0+incompatible, < 10.11.2+incompatible 10.5.11+incompatible, 10.10.3+incompatible, 10.11.2+incompatible GO-2025-4032
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-4032
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-4032
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250807174701-e14175eb6539 8.0.0-20250807174701-e14175eb6539 GHSA-6q7m-p8cc-998r

Advisories 2

References