CVE-2025-47870
Team invite ID leaked to team admin with no member invite privileges
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.3
Team invite ID leaked to team admin with no member invite privileges
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.
- Record
CVE-2025-47870- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
EUVDEUVD-2025-25420
4.3
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.
- Record
EUVD-2025-25420- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-qj47-w9f2-qg44
4.3
Mattermost Does Not Sanitize the Team Invite ID
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.
- Record
GHSA-qj47-w9f2-qg44- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
NVD
4.3
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.
- Record
CVE-2025-47870- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
OSV
4.3
Team invite ID leaked to team admin with no member invite privileges
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.
- Record
CVE-2025-47870- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-306
- Updated
- 2026-11-07
OSVGHSA-qj47-w9f2-qg44
4.3
Mattermost Does Not Sanitize the Team Invite ID
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.
- Record
GHSA-qj47-w9f2-qg44- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
OSVGO-2025-3905 No score
Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server
Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server
- Record
GO-2025-3905- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/mattermost/mattermost-serverGo |
10.8.0 to 10.8.3 | 10.8.4 |
github.com/mattermost/mattermost-serverGo |
10.5.0 to 10.5.8 | 10.5.9 |
github.com/mattermost/mattermost-serverGo |
9.11.0 to 9.11.17 | 9.11.18 |
github.com/mattermost/mattermost-serverGo |
10.9.0 to 10.9.2 | 10.9.3 |
github.com/mattermost/mattermost/server/v8Go |
before 8.0.0-20250708065844-b38e2eccda18 | 8.0.0-20250708065844-b38e2eccda18 |
github.com/mattermost/mattermost-server/v5Go |
through 5.39.3 | None known |
github.com/mattermost/mattermost-server/v6Go |
through 6.7.2 | None known |
github.com/mattermost/mattermost-serverGo |
10.8.0 up to 10.8.4 | 10.8.4 |
github.com/mattermost/mattermost-serverGo |
10.5.0 up to 10.5.9 | 10.5.9 |
github.com/mattermost/mattermost-serverGo |
9.11.0 up to 9.11.18 | 9.11.18 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
github.com/mattermost/mattermost-serverGo |
10.9.0 up to 10.9.3 | 10.9.3 |
github.com/mattermost/mattermost-serverGo |
9.11.0+incompatible up to 9.11.18+incompatible, 10.5.0+incompatible up to 10.5.9+incompatible, 10.8.0+incompatible up to 10.8.4+incompatible, 10.9.0+incompatible up to 10.9.3+incompatible | 9.11.18+incompatible10.5.9+incompatible10.8.4+incompatible10.9.3+incompatible |
github.com/mattermost/mattermost-server/v5Go |
All versions | None known |
github.com/mattermost/mattermost-server/v6Go |
All versions | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-47870 is a medium vulnerability (CVSS 4.3) in Mattermost, published August 21, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 12th percentile. Fixed in github.com/mattermost/mattermost-server 10.8.4.