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

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-08-21T08:02:44.934Z
- Modified: 2026-06-17T09:28:47.007Z
- Also known as: GHSA-qj47-w9f2-qg44, GO-2025-3905
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 10.8.0 up to 10.8.3; from 10.5.0 up to 10.5.8; from 9.11.0 up to 9.11.17; from 10.9.0 up to 10.9.2 (not affected: 10.10.0; 10.8.4; 10.5.9; 9.11.18; 10.9.3)
- github.com/mattermost/mattermost-server (Go): from 10.8.0 before 10.8.4; from 10.5.0 before 10.5.9; from 9.11.0 before 9.11.18; from 10.9.0 before 10.9.3; from 9.11.0+incompatible before 9.11.18+incompatible; from 10.5.0+incompatible before 10.5.9+incompatible; from 10.8.0+incompatible before 10.8.4+incompatible; from 10.9.0+incompatible before 10.9.3+incompatible
- github.com/mattermost/mattermost/server/v8 (Go): before 8.0.0-20250708065844-b38e2eccda18
- github.com/mattermost/mattermost-server/v5 (Go): up to 5.39.3; all versions
- github.com/mattermost/mattermost-server/v6 (Go): up to 6.7.2; all versions
- mattermost mattermost_server: 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

## Every score

- Mattermost: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

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

## Sources

- CVE List: [CVE-2025-47870](https://www.cve.org/CVERecord?id=CVE-2025-47870), CVE Terms of Use, modified 2025-08-21
- GitHub Advisory Database: [GHSA-qj47-w9f2-qg44](https://github.com/advisories/GHSA-qj47-w9f2-qg44), CC-BY-4.0, modified 2025-08-29
- Go Vulnerability Database: [GO-2025-3905](https://pkg.go.dev/vuln/GO-2025-3905), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-47870](https://nvd.nist.gov/vuln/detail/CVE-2025-47870), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47870 · Whole record: https://cve.day/CVE-2025-47870.json · Rebuilt by cve.day 2026-11-25T22:59:03.461Z
