CVE-2025-47870 Team invite ID leaked to team admin with no member invite privileges
MediumCVSS 4.3
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | <= 5.39.3; <= 6.7.2; >= 9.11.0+incompatible, < 9.11.18+incompatible; >= 9.11.0, < 9.11.18 +11 more | 9.11.18, 9.11.18+incompatible, 10.5.9, 10.5.9+incompatible, 10.8.4, 10.8.4+incompatible, 10.9.3, 10.9.3+incompatible | Partially fixed |
| Mattermost | >= 9.11.0, <= 9.11.17; >= 10.5.0, <= 10.5.8; >= 10.8.0, <= 10.8.3; >= 10.9.0, <= 10.9.2 | after 9.11.17, 10.5.8, 10.8.3, 10.9.2 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250708065844-b38e2eccda18 | 8.0.0-20250708065844-b38e2eccda18 | Fixed |
| mattermost server | >= 9.11.0, < 9.11.18; >= 10.5.0, < 10.5.9; >= 10.8.0, < 10.8.4; >= 10.9.0, < 10.9.3 | 9.11.18, 10.5.9, 10.8.4, 10.9.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.8.0, < 10.8.4 | 10.8.4 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0, < 10.5.9 | 10.5.9 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0, < 9.11.18 | 9.11.18 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.9.0, < 10.9.3 | 10.9.3 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250708065844-b38e2eccda18 | 8.0.0-20250708065844-b38e2eccda18 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | <= 5.39.3 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | <= 6.7.2 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.18+incompatible | 9.11.18+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0+incompatible, < 10.5.9+incompatible | 10.5.9+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.8.0+incompatible, < 10.8.4+incompatible | 10.8.4+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.9.0+incompatible, < 10.9.3+incompatible | 10.9.3+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.8.0, <= 10.8.3 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0, <= 10.5.8 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0, <= 9.11.17 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.9.0, <= 10.9.2 | No fix listed |
| Mattermost | >= 10.8.0, <= 10.8.3 | No fix listed |
| Mattermost | >= 10.5.0, <= 10.5.8 | No fix listed |
| Mattermost | >= 9.11.0, <= 9.11.17 | No fix listed |
| Mattermost | >= 10.9.0, <= 10.9.2 | No fix listed |
| mattermost server | >= 9.11.0, < 9.11.18 | 9.11.18 |
| mattermost server | >= 10.5.0, < 10.5.9 | 10.5.9 |
| mattermost server | >= 10.8.0, < 10.8.4 | 10.8.4 |
| mattermost server | >= 10.9.0, < 10.9.3 | 10.9.3 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- mattermost.com vendor-advisory
- pkg.go.dev
- github.com vendor-advisory