{"id":"CVE-2025-47870","published":"2025-08-21T08:02:44Z","modified":"2025-08-21T13:53:10Z","title":"Team invite ID leaked to team admin with no member invite privileges","vendor":"Mattermost","product":"Mattermost","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00258,"percentile":0.17654,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":3.53},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.8.0, <= 10.8.3",">= 10.5.0, <= 10.5.8",">= 9.11.0, <= 9.11.17",">= 10.9.0, <= 10.9.2"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.10.0","10.8.4","10.5.9","9.11.18","10.9.3"]}],"solutions":{"items":["Update Mattermost to versions 10.10.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-21T13:52:59.802915Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.8.0, <10.8.4",">=10.5.0, <10.5.9",">=9.11.0, <9.11.18",">=10.9.0, <10.9.3",">=9.11.0+incompatible, <9.11.18+incompatible",">=10.5.0+incompatible, <10.5.9+incompatible",">=10.8.0+incompatible, <10.8.4+incompatible",">=10.9.0+incompatible, <10.9.3+incompatible"],"patched":["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"],"from":["GHSA-qj47-w9f2-qg44","GO-2025-3905"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250708065844-b38e2eccda18"],"patched":["8.0.0-20250708065844-b38e2eccda18"],"from":["GHSA-qj47-w9f2-qg44","GO-2025-3905"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["<=5.39.3","all versions"],"patched":[],"from":["GHSA-qj47-w9f2-qg44","GO-2025-3905"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["<=6.7.2","all versions"],"patched":[],"from":["GHSA-qj47-w9f2-qg44","GO-2025-3905"],"provenance":"source"}],"summary":{"text":"Mattermost's team invite ID is exposed through the POST /api/v4/teams/:teamId/restore endpoint in Mattermost versions 10.8.x up to 10.8.3, 10.5.x up to 10.5.8, 9.11.x up to 9.11.17, and 10.9.x up to 10.9.2, where the invite ID is not sanitized. An attacker who is a network-reachable team admin with no member invite privileges, and who is already authenticated, can retrieve the team's invite ID without any user interaction, which lets them bypass the intended restriction on inviting members.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:54Z"},"euvd":{"id":"EUVD-2025-25420","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-6226","published":"2025-07-18","fixed":"10.8.2+incompatible","kev":false},{"cve":"CVE-2025-6233","published":"2025-07-18","fixed":"10.8.2+incompatible","kev":false},{"cve":"CVE-2025-36530","published":"2025-08-21","fixed":"10.9.2+incompatible","kev":false,"link":{"from":"CVE-2025-36530","to":"CVE-2025-47870","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.9.2+incompatible","toFixed":"10.9.3","daysApart":0}]}},{"cve":"CVE-2025-47870","published":"2025-08-21","fixed":"10.9.3+incompatible","kev":false},{"cve":"CVE-2025-8023","published":"2025-08-21","fixed":"10.9.3+incompatible","kev":false},{"cve":"CVE-2025-49222","published":"2025-08-21","fixed":"10.10.1+incompatible","kev":false},{"cve":"CVE-2025-6465","published":"2025-08-21","fixed":"10.10.1+incompatible","kev":false}],"package":"Go:github.com/mattermost/mattermost-server"}}