CVE-2025-47870 · MEDIUM (CVSS 4.3)
Summary: Team invite ID leaked to team admin with no member invite privileges
Details
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.
Severity
MEDIUM (CVSS 4.3) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected packages
- Go github.com/mattermost/mattermost-server [10.8.0 – 10.8.4]
- Go github.com/mattermost/mattermost-server [10.5.0 – 10.5.9]
- Go github.com/mattermost/mattermost-server [9.11.0 – 9.11.18]
- Go github.com/mattermost/mattermost-server [10.9.0 – 10.9.3]
- Go github.com/mattermost/mattermost/server/v8 [0 – 8.0.0-20250708065844-b38e2eccda18]
- Go github.com/mattermost/mattermost-server/v5 [0 – 5.39.3]
- Go github.com/mattermost/mattermost-server/v6 [0 – 6.7.2]
- GIT github.com/mattermost/mattermost [0bc2ddd42375a75ab14e63f038165150d4f07659 – 11c36f4d1e44c36a85aa682becaa7519f63761cf] [58bd34fd34cbd7d3da777d627b6cffdf8a532930 – c602a4a78e1f60b9a97ee5bce509ecad4177340c] [bb105f3a2785636ad53b2d0bf4027900d41f6a67 – 6880f9b5908f20c6c4db1456d3a27603af01dd72] [14775836a78c8257de08fff229d364755346eff9 – b38e2eccda182212a8032539658723c7d87e0b7e]