What’s Vulnerable › Vulnerabilities
CVE-2025-47870: Team invite ID leaked to team admin with no member invite privileges
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-21 · updated 2026-06-17
- Weakness: CWE-306
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
- Mattermost: from 9.11.0 before 9.11.18; from 10.5.0 before 10.5.9; from 10.8.0 before 10.8.4; from 10.9.0 before 10.9.3 — fixed in 10.5.9, 10.8.4, 10.9.3, 9.11.18
How to fix
Upgrade to a fixed version: Mattermost 10.5.9, 10.8.4, 10.9.3, 9.11.18. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-47870 or the next vulnerability affects your stack