Vulnerability · Published Aug 21, 2025 · Assigned by Mattermost
CVE-2025-47870Team invite ID leaked to team admin with no member invite privileges
Medium 4.3
In plain English
A medium-severity missing authentication in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.2%top 87.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.8.4 | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost-server | 10.5.9 | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost-server | 9.11.18 | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost-server | 10.9.3 | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost-server | 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible, 9.11.18+incompatible | GO-2025-3905 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3905 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3905 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250708065844-b38e2eccda18 | GHSA-qj47-w9f2-qg44 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250708065844-b38e2eccda18 | GO-2025-3905 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 10.8.0 – through 10.8.310.5.0 – through 10.5.89.11.0 – through 9.11.1710.9.0 – through 10.9.2 |
Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N