Skip to content
OpenAdvisories
Medium · 4.3 CVE-2025-47870 EUVD-2025-25420GHSA-qj47-w9f2-qg44GO-2025-3905

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

Published Aug 21, 2025 · Updated Aug 21, 2025 · Assigned by Mattermost

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 products

VendorProductAffectedFixed
Mattermost Mattermost 10.8.0 – ≤ 10.8.3, 10.5.0 – ≤ 10.5.8, 9.11.0 – ≤ 9.11.17, 10.9.0 – ≤ 10.9.2 10.10.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 10.8.0, < 10.8.4 10.8.4 GHSA-qj47-w9f2-qg44
Go github.com/mattermost/mattermost-server >= 10.5.0, < 10.5.9 10.5.9 GHSA-qj47-w9f2-qg44
Go github.com/mattermost/mattermost-server >= 9.11.0, < 9.11.18 9.11.18 GHSA-qj47-w9f2-qg44
Go github.com/mattermost/mattermost-server >= 10.9.0, < 10.9.3 10.9.3 GHSA-qj47-w9f2-qg44
Go github.com/mattermost/mattermost-server >= 9.11.0+incompatible, < 9.11.18+incompatible · >= 10.5.0+incompatible, < 10.5.9+incompatible · >= 10.8.0+incompatible, < 10.8.4+incompatible · >= 10.9.0+incompatible, < 10.9.3+incompatible 9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible GO-2025-3905
Go github.com/mattermost/mattermost-server/v5 <= 5.39.3 — GHSA-qj47-w9f2-qg44
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3905
Go github.com/mattermost/mattermost-server/v6 <= 6.7.2 — GHSA-qj47-w9f2-qg44
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3905
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250708065844-b38e2eccda18 8.0.0-20250708065844-b38e2eccda18 GHSA-qj47-w9f2-qg44

Advisories 1

References