CVE-2024-39839
MEDIUM 4.3CVSS 3.1Mattermost allows a user on a remote to set their remote username prop to an arbitrary string
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5, 9.8.x <= 9.8.1 fail to disallow users to set their own remote username, when shared channels were enabled, which allows a user on a remote to set their remote username prop to an arbitrary string, which would be then synced to the local server as long as the user hadn't been synced before.
- Published
- 1 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- BIT-mattermost-2024-39839GHSA-vg6q-84p8-qvqhGO-2024-3024
- Sources
- NVDJSONOSV GHSA-vg6q-84p8-qvqhJSONOSV GO-2024-3024JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.5.0, < 9.5.7 | 9.5.7 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.7.0, < 9.7.6 | 9.7.6 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.8.0, < 9.8.2 | 9.8.2 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:9.9.0:*:*:*:*:*:*:* |
= 9.9.0 | |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.5.0, < 9.5.7 | 9.5.7 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.7.0, < 9.7.6 | 9.7.6 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.8.0, < 9.8.2 | 9.8.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.9.0, < 9.9.1 | 9.9.1 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.5.0+incompatible, < 9.5.7+incompatible; >= 9.7.0+incompatible, < 9.7.6+incompatible; >= 9.8.0+incompatible, < 9.8.2+incompatible; >= 9.9.0+incompatible, < 9.9.1+incompatible | 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions | |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39839 · ADVISORY
- https://github.com/mattermost/mattermost · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3024 · WEB
- https://github.com/advisories/GHSA-vg6q-84p8-qvqh · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Aug 2024)