{"schema_version":"1.9.0","id":"CVE-2025-6227","published":"2025-07-18T11:39:46.005Z","modified":"2026-08-12T03:51:44.386968905Z","aliases":["GHSA-4fwj-8595-wp25","GO-2025-3818"],"related":["openSUSE-SU-2025:15405-1"],"summary":"Invite token is used as part of the secure communication","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"0bc2ddd42375a75ab14e63f038165150d4f07659"},{"fixed":"8f8612c63783eff8188330973e4f533b323b4e32"},{"introduced":"58bd34fd34cbd7d3da777d627b6cffdf8a532930"},{"fixed":"7283c373e40d8419e7e7aa816b76e62d81cf2cf7"}],"database_specific":{"cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"9.11.0"},{"fixed":"9.11.17"},{"introduced":"10.5.0"},{"fixed":"10.5.8"}],"source":"CPE_RANGE"}}],"versions":["v10.5.8-rc1","v9.11.17-rc1","v10.5.7","v9.11.16-rc1","v9.11.16","v10.5.6-rc1","v10.5.6","v9.11.15","v10.5.5","v10.5.5-rc1","v9.11.14","v10.5.4-rc2","v10.5.4","v9.11.13","v10.5.4-rc1","v9.11.13-rc1","v10.5.3","v9.11.12","v10.5.3-rc1","v9.11.12-rc1","v9.11.11-rc1","v9.11.11","v9.11.10","v10.5.2","v9.11.10-rc1","v9.11.9","v10.5.1","v10.5.1-rc2","v10.5.1-rc1","v9.11.9-rc2","v9.11.9-rc1","v10.5.0-rc6","v10.5.0","@mattermost/types@10.5.0","@mattermost/client@10.5.0","v9.11.8","v9.11.7-rc3","v9.11.7","v9.11.7-rc2","v9.11.7-rc1","v9.11.6","v9.11.6-rc2","v9.11.6-rc1","v9.11.5","v9.11.5-rc1","v9.11.4","v9.11.4-rc1","v9.11.3","v9.11.3-rc2","v9.11.3-rc1","v9.11.2","v9.11.2-rc2","v9.11.2-rc1","v9.11.1-rc1","v9.11.1","v9.11.0-rc3","v9.11.0","@mattermost/types@9.11.0","@mattermost/client@9.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6227.json"}}],"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6227.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6227"}],"database_specific":{"cna_assigner":"Mattermost","cwe_ids":["CWE-522"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6227.json","unresolved_ranges":[{"extracted_events":[{"introduced":"10.5.0"},{"last_affected":"10.5.7"},{"introduced":"9.11.0"},{"last_affected":"9.11.16"}],"source":"AFFECTED_FIELD"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}