CVE-2025-47870Published Aug 21, 2025 · Aug 21Updated 6d ago
Team invite ID leaked to team admin with no member invite privileges
Mattermost
Medium4.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
≥ 10.9.0+incompatible · < 10.9.3+incompatible
|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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.
From the CVE record · Mattermost
The team restore endpoint fails to sanitize the team invite ID. A team admin without member invite privileges can use the endpoint to obtain that ID; the attacker must have team admin access.
Teams running Mattermost 10.8.x through 10.8.3, 10.5.x through 10.5.8, 9.11.x through 9.11.17, or 10.9.x through 10.9.2 should check their installations, as should users of the affected Go packages.