{"id":"CVE-2025-47870","aliases":["EUVD-2025-25420","GHSA-qj47-w9f2-qg44","GO-2025-3905"],"status":"published","title":"Team invite ID leaked to team admin with no member invite privileges","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0022,"percentile":0.1269,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-306"],"published":"2025-08-21T08:02:44Z","modified":"2026-11-07T02:48:20Z","fixes":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","fixed_in":["10.8.4","10.5.9","9.11.18","10.9.3","9.11.18+incompatible","10.5.9+incompatible","10.8.4+incompatible","10.9.3+incompatible"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","fixed_in":["8.0.0-20250708065844-b38e2eccda18"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.8.0"},{"last_affected":"10.8.3"},{"fixed":"10.8.4"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.5.0"},{"last_affected":"10.5.8"},{"fixed":"10.5.9"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.11.0"},{"last_affected":"9.11.17"},{"fixed":"9.11.18"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.9.0"},{"last_affected":"10.9.2"},{"fixed":"10.9.3"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.0-20250708065844-b38e2eccda18"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.39.3"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.7.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"10.8.0"},{"fixed":"10.8.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"10.5.0"},{"fixed":"10.5.9"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.11.0"},{"fixed":"9.11.18"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"10.9.0"},{"fixed":"10.9.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.0.0-20250708065844-b38e2eccda18"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.39.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"6.7.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.11.0+incompatible"},{"fixed":"9.11.18+incompatible"},{"introduced":"10.5.0+incompatible"},{"fixed":"10.5.9+incompatible"},{"introduced":"10.8.0+incompatible"},{"fixed":"10.8.4+incompatible"},{"introduced":"10.9.0+incompatible"},{"fixed":"10.9.3+incompatible"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.0.0-20250708065844-b38e2eccda18"}]}]}],"products":[{"vendor":"mattermost","product":"mattermost"},{"vendor":"mattermost","product":"mattermost_server"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47870","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3905","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qj47-w9f2-qg44","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47870.json","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-47870","title":"Team invite ID leaked to team admin with no member invite privileges","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","status":"published","published":"2025-08-21T08:02:44.934Z","modified":"2025-08-21T13:53:10.862Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-306"],"updated_at":"2026-11-02T14:32:25.982948Z"}],"euvd":[{"id":"EUVD-2025-25420","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","status":"published","published":"2025-08-21T08:02:44Z","modified":"2025-08-21T13:53:10Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:55.037702Z"}],"ghsa":[{"id":"GHSA-qj47-w9f2-qg44","title":"Mattermost Does Not Sanitize the Team Invite ID","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","status":"published","published":"2025-08-21T09:30:21Z","modified":"2025-08-29T20:55:10Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-306"],"updated_at":"2026-11-02T14:38:55.953734Z"}],"nvd":[{"id":"CVE-2025-47870","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","status":"published","published":"2025-08-21T08:15:30Z","modified":"2026-06-17T09:28:47.007Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-306"],"updated_at":"2026-11-02T14:11:25.261243Z"}],"osv":[{"id":"CVE-2025-47870","title":"Team invite ID leaked to team admin with no member invite privileges","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","status":"published","published":"2025-08-21T08:02:44.934Z","modified":"2026-11-07T02:48:20.386997144Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-306"],"updated_at":"2026-11-07T03:07:57.024029Z"},{"id":"GHSA-qj47-w9f2-qg44","title":"Mattermost Does Not Sanitize the Team Invite ID","description":"Mattermost versions 10.8.x \u003c= 10.8.3, 10.5.x \u003c= 10.5.8, 9.11.x \u003c= 9.11.17, 10.9.x \u003c= 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.","status":"published","published":"2025-08-21T09:30:21Z","modified":"2025-08-29T20:55:09Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-306"],"updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"GO-2025-3905","title":"Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server","description":"Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server","status":"published","published":"2025-08-29T14:52:20Z","modified":"2026-03-03T04:56:51.736921Z","updated_at":"2026-11-02T15:47:01.728182Z"}]}}
