Mattermost allows remote actor to set arbitrary RemoteId values for synced users
Published 1 Aug 2024 · Updated 9 Jul 2025
Is your project on an affected github.com/mattermost/mattermost/server/v8?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=9.5.0 <9.5.7
- Fixed in
- 9.5.7
go get github.com/mattermost/mattermost/server/v8@v9.5.7- Affected
- >=9.9.0 <9.9.1
- Fixed in
- 9.9.1
go get github.com/mattermost/mattermost/server/v8@v9.9.1- Affected
- <8.0.0-20240604093018-5114c3b7cdb8
- Fixed in
- 8.0.0-20240604093018-5114c3b7cdb8
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20240604093018-5114c3b7cdb8- Affected
- <5.3.2-0.20240604093018-5114c3b7cdb8
- Fixed in
- 5.3.2-0.20240604093018-5114c3b7cdb8
go get github.com/mattermost/mattermost@v5.3.2-0.20240604093018-5114c3b7cdb8Details
Mattermost versions 9.9.x <= 9.9.0 and 9.5.x <= 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.
Is GHSA-9fpw-c9x7-cv3j in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/mattermost/mattermost/server/v8, and gives you the command that fixes it.
More advisories for github.com/mattermost/mattermost/server/v8
- LowCVE-2026-8823Mattermost has an Incorrect Authorization issue in github.com/mattermost/mattermost-server · 1 Oct 2026
- LowCVE-2026-6046Mattermost doesn't validate that a username returned during bot registration belongs to a bot account in github.com/mattermost/mattermost-server · 25 Aug 2026
- LowCVE-2026-7387Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints in github.com/mattermost/mattermost-server · 25 Aug 2026
- LowCVE-2026-6961Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync in github.com/mattermost/mattermost-server · 25 Aug 2026
- LowCVE-2026-7184Mattermost doesn't sanitize the Remote Cluster API response on PATCH operations in github.com/mattermost/mattermost-server · 25 Aug 2026
- LowCVE-2026-6689Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation in github.com/mattermost/mattermost-server · 25 Aug 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.