Skip to content
OpenAdvisories
High · 8.1 CVE-2025-58075 EUVD-2025-34729GHSA-r6qj-894f-5hr2GO-2025-4035

Arbitrary Mattermost Team can be joined by manipulating the SAML RelayState

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 RelayState

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-r6qj-894f-5hr2
Go github.com/mattermost/mattermost-server >= 10.10.0, < 10.10.3 10.10.3 GHSA-r6qj-894f-5hr2
Go github.com/mattermost/mattermost-server >= 10.5.0, < 10.5.11 10.5.11 GHSA-r6qj-894f-5hr2
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-4035
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-4035
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-4035
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250815100400-2d5cdc6e217e 8.0.0-20250815100400-2d5cdc6e217e GHSA-r6qj-894f-5hr2
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2025-4035

Advisories 2

References