CVE-2025-47870
August 21, 2025
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
github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.8.0 <v10.8.4Fix Suggestion:
Update to version v10.8.4github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.5.0 <v10.5.9Fix Suggestion:
Update to version v10.5.9github.com/mattermost/mattermost (GO):
Affected version(s) >=v9.11.0 <v9.11.18Fix Suggestion:
Update to version v9.11.18github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v9.11.0 <v9.11.18Fix Suggestion:
Update to version v9.11.18github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.8.0 <v10.8.4Fix Suggestion:
Update to version v10.8.4github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.9.0 <v10.9.3Fix Suggestion:
Update to version v10.9.3github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.5.0 <v10.5.9Fix Suggestion:
Update to version v10.5.9github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.9.0 <v10.9.3Fix Suggestion:
Update to version v10.9.3github.com/mattermost/mattermost/server/v8 (GO):
Affected version(s) >=v8.0.0-20230429093631-aac4f2337933 <v8.0.0-20250708065844-b38e2eccda18Fix Suggestion:
Update to version v8.0.0-20250708065844-b38e2eccda18Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Missing Authentication for Critical Function
EPSS
Base Score:
0.04