NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-47870: Mattermost Does Not Sanitize the Team Invite ID

mediumCVSS 3.1 4.3GHSA-qj47-w9f2-qg44

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.

Published Aug 21, 2025 · Updated Aug 29, 2025

Affected packages

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.8.0, <= 10.8.3
Fixed in
10.8.4
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.5.0, <= 10.5.8
Fixed in
10.5.9
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 9.11.0, <= 9.11.17
Fixed in
9.11.18
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.9.0, <= 10.9.2
Fixed in
10.9.3
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost/server/v8

Ecosystem
Go
Affected
< 8.0.0-20250708065844-b38e2eccda18
Fixed in
8.0.0-20250708065844-b38e2eccda18
Check
go list -m github.com/mattermost/mattermost/server/v8

github.com/mattermost/mattermost-server/v5

Ecosystem
Go
Affected
<= 5.39.3
Fixed in
No patched version yet
Check
go list -m github.com/mattermost/mattermost-server/v5

github.com/mattermost/mattermost-server/v6

Ecosystem
Go
Affected
<= 6.7.2
Fixed in
No patched version yet
Check
go list -m github.com/mattermost/mattermost-server/v6

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries