# CVE-2025-47870: Team invite ID leaked to team admin with no member invite privileges

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-21 · Modified: 2025-08-21
- Aliases: GHSA-qj47-w9f2-qg44, GO-2025-3905
- Record: https://cvemate.com/vulnerability/CVE-2025-47870 · JSON: https://cvemate.com/vulnerability/CVE-2025-47870/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.258%, percentile 18.606%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/mattermost mattermost-server (Go): ≥ 10.8.0, \< 10.8.4 \| ≥ 10.5.0, \< 10.5.9 \| ≥ 9.11.0, \< 9.11.18 \| ≥ 10.9.0, \< 10.9.3 \| ≥ 10.9.0+incompatible, \< 10.9.3+incompatible
- github.com/mattermost/mattermost-server v5 (Go): ≤ 5.39.3 \| All versions (No fix recorded)
- github.com/mattermost/mattermost-server v6 (Go): ≤ 6.7.2 \| All versions (No fix recorded)
- github.com/mattermost/mattermost/server v8 (Go): \< 8.0.0-20250708065844-b38e2eccda18
- 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
- mattermost 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

## References

- <https://mattermost.com/security-updates>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-47870>
- <https://github.com/mattermost/mattermost>
- <https://pkg.go.dev/vuln/GO-2025-3905>
- <https://github.com/advisories/GHSA-qj47-w9f2-qg44>

---

Data as of 2026-12-05T18:29:31.702Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
