Every CVE Search/ Get API key

CVE-2025-47870

Team invite ID leaked to team admin with no member invite privileges

4.3 MediumFix available

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

0.22%Up 0.2 points since Aug 21, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
github.com/mattermost/mattermost-server
Go
10.8.0 to 10.8.3
10.8.4
github.com/mattermost/mattermost-server
Go
10.5.0 to 10.5.8
10.5.9
github.com/mattermost/mattermost-server
Go
9.11.0 to 9.11.17
9.11.18
github.com/mattermost/mattermost-server
Go
10.9.0 to 10.9.2
10.9.3
github.com/mattermost/mattermost/server/v8
Go
before 8.0.0-20250708065844-b38e2eccda18
8.0.0-20250708065844-b38e2eccda18
github.com/mattermost/mattermost-server/v5
Go
through 5.39.3 None known
github.com/mattermost/mattermost-server/v6
Go
through 6.7.2 None known
github.com/mattermost/mattermost-server
Go
10.8.0 up to 10.8.4
10.8.4
github.com/mattermost/mattermost-server
Go
10.5.0 up to 10.5.9
10.5.9
github.com/mattermost/mattermost-server
Go
9.11.0 up to 9.11.18
9.11.18
Show 4 moreShow less
Affected packages
PackageAffectedFixed
github.com/mattermost/mattermost-server
Go
10.9.0 up to 10.9.3
10.9.3
github.com/mattermost/mattermost-server
Go
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/v5
Go
All versions None known
github.com/mattermost/mattermost-server/v6
Go
All versions None known

History

History
RecordedChangedSources
factsOSV
first indexedCVE 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.

References

MoveEnter Open