{"id":"GHSA-9fpw-c9x7-cv3j","summary":"Mattermost allows remote actor to set arbitrary RemoteId values for synced users","details":"Mattermost versions 9.9.x \u003c= 9.9.0 and 9.5.x \u003c= 9.5.6 fail to validate the source of sync messages and only allow the correct remote IDs, which allows a malicious remote to set arbitrary RemoteId values for synced users and therefore claim that a user was synced from another remote.","aliases":["BIT-mattermost-2024-41926","CVE-2024-41926","GO-2024-3022"],"modified":"2025-07-09T16:41:20Z","published":"2024-08-01T15:32:23Z","database_specific":{"cwe_ids":["CWE-284","CWE-346"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-08-02T01:19:49Z","nvd_published_at":"2024-08-01T15:15:13Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41926"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/5114c3b7cdb84086959bf0ef8bc5afdaedf9fef6"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3022"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost/server/v8","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0"},{"fixed":"9.5.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-9fpw-c9x7-cv3j/GHSA-9fpw-c9x7-cv3j.json"}},{"package":{"name":"github.com/mattermost/mattermost/server/v8","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.9.0"},{"fixed":"9.9.1"}]}],"versions":["9.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-9fpw-c9x7-cv3j/GHSA-9fpw-c9x7-cv3j.json"}},{"package":{"name":"github.com/mattermost/mattermost/server/v8","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.0.0-20240604093018-5114c3b7cdb8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-9fpw-c9x7-cv3j/GHSA-9fpw-c9x7-cv3j.json"}},{"package":{"name":"github.com/mattermost/mattermost","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.3.2-0.20240604093018-5114c3b7cdb8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-9fpw-c9x7-cv3j/GHSA-9fpw-c9x7-cv3j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N"}]}