{"id":"CVE-2025-6227","published":"2025-07-18T11:39:46Z","modified":"2025-07-18T13:44:00Z","title":"Invite token is used as part of the secure communication","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to negotiate a new token when accepting the invite which allows a user that intercepts both invite and password to send synchronization payloads to the server that originally created the invite via the REST API.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00331,"percentile":0.18702,"provenance":"source"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":3.74},{"name":"CVSS severity","points":1.54}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.5.0, <= 10.5.7",">= 9.11.0, <= 9.11.16"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.9.0","10.5.8","9.11.17"]}],"solutions":{"items":["Update Mattermost to versions 10.9.0, 10.5.8, 9.11.17 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-18T13:43:55.354516Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.5.0, <10.5.8",">=9.11.0, <9.11.17",">=9.11.0+incompatible, <9.11.17+incompatible",">=10.5.0+incompatible, <10.5.8+incompatible"],"patched":["10.5.8","9.11.17","9.11.17+incompatible","10.5.8+incompatible"],"from":["GHSA-4fwj-8595-wp25","GO-2025-3818"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250612074655-8f8612c63783"],"patched":["8.0.0-20250612074655-8f8612c63783"],"from":["GHSA-4fwj-8595-wp25","GO-2025-3818"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3818"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3818"],"provenance":"source"}],"summary":{"text":"Mattermost (product Mattermost) fails to negotiate a new token when accepting an invite, so the invite token continues to be used as part of the secure communication. An attacker who can intercept both the invite and the associated password, and who has high privileges on the system (per the attack vector, network-reachable with high privileges required and no user interaction), can send synchronization payloads via the REST API to the server that originally created the invite.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:45Z"},"euvd":{"id":"EUVD-2025-21876","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2025-6227","children":[{"from":"CVE-2025-6227","to":"CVE-2026-4273","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/platform/services/remotecluster/recv.go"],"commits":["https://github.com/mattermost/mattermost/commit/fbf105f6ef8f6cd5a89f859f09a2d1216cd81c05","https://github.com/mattermost/mattermost/commit/742e0be9507454a7e662668e1d9ec1b94b636e9b"],"basis":"shared function","functions":["ReceiveInviteConfirmation"]}]}],"packageHistory":[{"cve":"CVE-2025-2527","published":"2025-05-15","fixed":"10.5.3+incompatible","kev":false},{"cve":"CVE-2025-2570","published":"2025-05-15","fixed":"10.5.3+incompatible","kev":false},{"cve":"CVE-2025-4128","published":"2025-06-11","fixed":"10.5.5+incompatible","kev":false},{"cve":"CVE-2025-6227","published":"2025-07-18","fixed":"10.5.8+incompatible","kev":false},{"cve":"CVE-2025-49810","published":"2025-08-21","fixed":"10.5.9+incompatible","kev":false},{"cve":"CVE-2025-53971","published":"2025-08-21","fixed":"10.5.9+incompatible","kev":false},{"cve":"CVE-2025-9081","published":"2025-09-19","fixed":"10.5.9+incompatible","kev":false},{"cve":"CVE-2025-6226","published":"2025-07-18","fixed":"10.8.2+incompatible","kev":false,"link":{"from":"CVE-2025-6226","to":"CVE-2025-6227","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.5.7+incompatible","toFixed":"10.5.8","daysApart":0}]}},{"cve":"CVE-2025-6233","published":"2025-07-18","fixed":"10.8.2+incompatible","kev":false,"link":{"from":"CVE-2025-6233","to":"CVE-2025-6227","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250529054450-d38c27f96fcf","toFixed":"8.0.0-20250612074655-8f8612c63783","daysApart":0}]}},{"cve":"CVE-2025-36530","published":"2025-08-21","fixed":"10.9.2+incompatible","kev":false,"link":{"from":"CVE-2025-6227","to":"CVE-2025-36530","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250612074655-8f8612c63783","toFixed":"8.0.0-20250619095651-9dd0b3943e55","daysApart":34}]}}],"package":"Go:github.com/mattermost/mattermost-server"}}