# CVE-2024-41926: Mattermost allows remote actor to set arbitrary RemoteId values for synced users

Source: https://junglewise.ai/threats/cve-2024-41926-mattermost-allows-remote-actor-to-set-arbitrary-remoteid-values  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-06  
License: CC BY 4.0 with a link back

CVE-2024-41926 · Severity: low · CVSS 3.1 · Published 2024-08-06

Mattermost allows remote actor to set arbitrary RemoteId values for synced users in github.com/mattermost/mattermost-server

Technologies: [github.com/mattermost/mattermost (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost), [github.com/mattermost/mattermost-server (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server), [github.com/mattermost/mattermost-server/v5 (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server-v5), [github.com/mattermost/mattermost-server/v6 (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server-v6), [github.com/mattermost/mattermost/server/v8 (Go)](https://junglewise.ai/threats/technologies/github-com-mattermost-mattermost-server-v8). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-41926 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-41926 being exploited in the wild.

**How severe is CVE-2024-41926?** Low severity, with a CVSS score of 3.1, published 6 August 2024.

**Which products and versions are affected?** github.com/mattermost/mattermost (Go) SEMVER:introduced=0,fixed=5.3.2-0.20240604093018-5114c3b7cdb8; github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.5.0+incompatible,fixed=9.5.7+incompatible,introduced=9.9.0+incompatible,fixed=9.9.1+incompatible; github.com/mattermost/mattermost-server/v5 (Go) SEMVER:introduced=0; github.com/mattermost/mattermost-server/v6 (Go) SEMVER:introduced=0; and 1 more.

**Is there a fix for CVE-2024-41926?** Yes. github.com/mattermost/mattermost (Go): upgrade to 5.3.2-0.20240604093018-5114c3b7cdb8 or later; github.com/mattermost/mattermost-server (Go): upgrade to 9.9.1+incompatible or later; github.com/mattermost/mattermost/server/v8 (Go): upgrade to 9.5.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-41926?** Check whether you run github.com/mattermost/mattermost (Go), github.com/mattermost/mattermost-server (Go), github.com/mattermost/mattermost-server/v5 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/mattermost/mattermost (Go): upgrade to 5.3.2-0.20240604093018-5114c3b7cdb8 or later

  ```sh
  go get github.com/mattermost/mattermost@v5.3.2-0.20240604093018-5114c3b7cdb8
  ```

- github.com/mattermost/mattermost-server (Go): upgrade to 9.9.1+incompatible or later

  ```sh
  go get github.com/mattermost/mattermost-server@v9.9.1+incompatible
  ```

- github.com/mattermost/mattermost/server/v8 (Go): upgrade to 9.5.7 or later

  ```sh
  go get github.com/mattermost/mattermost/server/v8@v9.5.7
  ```


## Affected products

- github.com/mattermost/mattermost (Go) SEMVER:introduced=0,fixed=5.3.2-0.20240604093018-5114c3b7cdb8
- github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.5.0+incompatible,fixed=9.5.7+incompatible,introduced=9.9.0+incompatible,fixed=9.9.1+incompatible
- github.com/mattermost/mattermost-server/v5 (Go) SEMVER:introduced=0
- github.com/mattermost/mattermost-server/v6 (Go) SEMVER:introduced=0
- github.com/mattermost/mattermost/server/v8 (Go) SEMVER:introduced=0, SEMVER:introduced=9.5.0,fixed=9.5.7

## Identifiers

- CVE-2024-41926
- GHSA-9fpw-c9x7-cv3j
- GO-2024-3022

## Related threats

- [Mattermost doesn't validate decompressed archive entry sizes during file extraction](https://junglewise.ai/threats/cve-2026-3114-mattermost-doesn-t-validate-decompressed-archive-entry-sizes)
- [Mattermost allows authenticated guest users to enumerate user IDs outside their allowed visibility scope](https://junglewise.ai/threats/cve-2026-3115-mattermost-allows-authenticated-guest-users-to-enumerate-user-ids)
- [GO-2026-5629 - Mattermost doesn't properly validate CSRF tokens in github.com/mattermost/mattermost-server](https://junglewise.ai/threats/cve-2026-27659-mattermost-doesn-t-properly-validate-csrf-tokens)
- [GO-2026-5495 - Mattermost doesn't validate CSRF tokens on an authentication endpoint in github.com/mattermost/mattermost-server](https://junglewise.ai/threats/cve-2026-28741-mattermost-doesn-t-validate-csrf-tokens-on-an-authentication)
- [Mattermost allows attackers to take over arbitrary user accounts via overly permissive substring matching flaw](https://junglewise.ai/threats/cve-2026-27656-mattermost-allows-attackers-to-take-over-arbitrary-user-accounts)
