CVE-2025-47870
JSON

4.3medium

Team invite ID leaked to team admin with no member invite privileges

Severity
4.3medium CVSS:3.1 by Mattermost
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-qj47-w9f2-qg44GO-2025-3905

Description

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fail to sanitize the team invite ID in the POST /api/v4/teams/:teamId/restore endpoint which allows an team admin with no member invite privileges to get the team’s invite id.

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.8.0 up to 10.8.3, from 10.5.0 up to 10.5.8, from 9.11.0 up to 9.11.17, from 10.9.0 up to 10.9.2
Not affected: 10.10.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3
CVE List
github.com/mattermost/mattermost-server (Go)from 10.8.0 before 10.8.4, from 10.5.0 before 10.5.9, from 9.11.0 before 9.11.18, from 10.9.0 before 10.9.3, from 9.11.0+incompatible before 9.11.18+incompatible, from 10.5.0+incompatible before 10.5.9+incompatible, from 10.8.0+incompatible before 10.8.4+incompatible, from 10.9.0+incompatible before 10.9.3+incompatibleGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20250708065844-b38e2eccda18GitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)up to 5.39.3, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)up to 6.7.2, all versionsGitHub Advisory Database, Go Vulnerability Database
mattermost mattermost_serverfrom 9.11.0 before 9.11.18, from 10.5.0 before 10.5.9, from 10.8.0 before 10.8.4, from 10.9.0 before 10.9.3NVD

All scores

Mattermost4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-306

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

What each source says

CVE List

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fail to sanitize the team invite ID in the POST /api/v4/teams/:teamId/restore endpoint which allows an team admin with no member invite privileges to get the team’s invite id.

Go Vulnerability Database

Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server

NVD (es)

Las versiones de Mattermost 10.8.x &lt;= 10.8.3, 10.5.x &lt;= 10.5.8, 9.11.x &lt;= 9.11.17, 10.9.x &lt;= 10.9.2 no logran depurar el ID de invitación del equipo en el endpoint POST /api/v4/teams/:teamId/restore, lo que permite que un administrador de equipo sin privilegios de invitación de miembros obtenga el ID de invitación del equipo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-47870 changed 2025-08-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-qj47-w9f2-qg44 changed 2025-08-29CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3905 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-47870 changed 2026-06-17Public domain