{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-47870","id":"CVE-2025-47870","title":"Team invite ID leaked to team admin with no member invite privileges","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.","descriptionLong":"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.","published":"2025-08-21T08:02:44.934Z","updated":"2026-11-14T02:45:12.395626816Z","reserved":"2025-07-22T07:53:00.896Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"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","rating":"medium","source":"Mattermost"},"metrics":[{"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","rating":"medium","source":"Mattermost"},{"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","rating":"medium","source":"mattermost.com"},{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.8.3","status":"affected","version":"10.8.0","versionType":"semver"},{"lessThanOrEqual":"10.5.8","status":"affected","version":"10.5.0","versionType":"semver"},{"lessThanOrEqual":"9.11.17","status":"affected","version":"9.11.0","versionType":"semver"},{"lessThanOrEqual":"10.9.2","status":"affected","version":"10.9.0","versionType":"semver"},{"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"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["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"],"advisory":"GHSA-qj47-w9f2-qg44"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250708065844-b38e2eccda18"],"fixed":["8.0.0-20250708065844-b38e2eccda18"],"advisory":"GHSA-qj47-w9f2-qg44"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["<=5.39.3","all versions"],"fixed":[],"advisory":"GHSA-qj47-w9f2-qg44"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["<=6.7.2","all versions"],"fixed":[],"advisory":"GHSA-qj47-w9f2-qg44"}],"cwes":["CWE-306"],"aliases":["GHSA-qj47-w9f2-qg44","GO-2025-3905"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47870.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47870","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3905","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qj47-w9f2-qg44","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00241,"epssPercentile":0.15376,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-47870","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47870","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-47870","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qj47-w9f2-qg44","ok":true,"note":"GHSA-qj47-w9f2-qg44"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47870","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}