CVE-2025-58075
JSON

8.1high

Arbitrary Mattermost Team can be joined by manipulating the SAML RelayState

Severity
8.1high CVSS:3.1 by Mattermost
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-r6qj-894f-5hr2GO-2025-4035

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

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.11.0 up to 10.11.1, from 10.10.0 up to 10.10.2, from 10.5.0 up to 10.5.10
Not affected: 10.12.0, 10.11.2, 10.10.3, 10.5.11
CVE List
github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20250815100400-2d5cdc6e217e, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)from 10.11.0 before 10.11.2, from 10.10.0 before 10.10.3, from 10.5.0 before 10.5.11, from 10.5.0+incompatible before 10.5.11+incompatible, from 10.10.0+incompatible before 10.10.3+incompatible, from 10.11.0+incompatible before 10.11.2+incompatibleGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 10.5.0 before 10.5.11, from 10.10.0 before 10.10.3, from 10.11.0 before 10.11.3NVD

All scores

Mattermost8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

GitHub Advisory Database

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.

Go Vulnerability Database

Mattermost has a Missing Authorization vulnerability in github.com/mattermost/mattermost-server.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/mattermost/mattermost/server/v8 before v8.0.0-20250815100400-2d5cdc6e217e.

NVD (es)

Mattermost versiones 10.11.x menor o igual que 10.11.1, 10.10.x menor o igual que 10.10.2, 10.5.x menor o igual que 10.5.10 no verifican que un usuario tiene permiso para unirse a un equipo de Mattermost usando el token de invitación original, lo que permite a cualquier atacante unirse a cualquier equipo en un servidor de Mattermost independientemente de las restricciones, manipulando el RelayState.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-58075 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-r6qj-894f-5hr2 changed 2025-11-05CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4035 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-58075 changed 2026-10-19Public domain