{"id":"CVE-2025-47870","aliases":["CVE-2025-47870","GHSA-qj47-w9f2-qg44","GO-2025-3905"],"related":[],"kind":"vulnerability","state":"published","title":"Team invite ID leaked to team admin with no member invite privileges","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 10.8.x &lt;= 10.8.3, 10.5.x &lt;= 10.5.8, 9.11.x &lt;= 9.11.17, 10.9.x &lt;= 10.9.2 no logran depurar el ID de invitación del equipo en el endpoint POST /api/v4/teams/:teamId/restore, lo que permite que un administrador de equipo sin privilegios de invitación de miembros obtenga el ID de invitación del equipo.","source":"nvd"}],"published":"2025-08-21T08:02:44.934Z","modified":"2026-06-17T09:28:47.007Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"type":"semver","introduced":"10.8.0","lastAffected":"10.8.3","status":"affected"},{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.8","status":"affected"},{"type":"semver","introduced":"9.11.0","lastAffected":"9.11.17","status":"affected"},{"type":"semver","introduced":"10.9.0","lastAffected":"10.9.2","status":"affected"},{"version":"10.10.0","status":"unaffected"},{"version":"10.8.4","status":"unaffected"},{"version":"10.5.9","status":"unaffected"},{"version":"9.11.18","status":"unaffected"},{"version":"10.9.3","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.8.0","status":"affected","fixed":"10.8.4"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.5.0","status":"affected","fixed":"10.5.9"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0","status":"affected","fixed":"9.11.18"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.9.0","status":"affected","fixed":"10.9.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250708065844-b38e2eccda18"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"5.39.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"6.7.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0+incompatible","status":"affected","fixed":"9.11.18+incompatible"},{"type":"semver","introduced":"10.5.0+incompatible","status":"affected","fixed":"10.5.9+incompatible"},{"type":"semver","introduced":"10.8.0+incompatible","status":"affected","fixed":"10.8.4+incompatible"},{"type":"semver","introduced":"10.9.0+incompatible","status":"affected","fixed":"10.9.3+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250708065844-b38e2eccda18"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.11.0","fixed":"9.11.18"},{"status":"affected","introduced":"10.5.0","fixed":"10.5.9"},{"status":"affected","introduced":"10.8.0","fixed":"10.8.4"},{"status":"affected","introduced":"10.9.0","fixed":"10.9.3"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47870","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3905","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qj47-w9f2-qg44","tags":["advisory"],"sources":["go"]}],"credits":["omarAhmed1"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-08-21T13:52:59.802Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47870","url":"https://www.cve.org/CVERecord?id=CVE-2025-47870","licence":"CVE Terms of Use","modified":"2025-08-21T13:53:10.862Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qj47-w9f2-qg44","url":"https://github.com/advisories/GHSA-qj47-w9f2-qg44","licence":"CC-BY-4.0","modified":"2025-08-29T20:55:09.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3905","url":"https://pkg.go.dev/vuln/GO-2025-3905","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:51.736Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47870","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47870","licence":"Public domain","modified":"2026-06-17T09:28:47.007Z"}],"updatedAt":"2026-11-25T22:59:03.461Z","epss":{"score":0.00258,"percentile":0.18707,"date":"2026-12-01T12:00:22.000Z"}}