CVE-2024-39839 json
Remote username set to an arbitrary string by remote user
published 2024-08-01 2 y ago modified 2026-06-17 4 mo ago also BIT-mattermost-2024-39839 , EUVD-2024-2663 , GHSA-vg6q-84p8-qvqh , GO-2024-3024
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mattermost/mattermost/server/v8 9.5.7, 9.7.6, 9.8.2, 9.9.1
- bitnami mattermost 9.5.7, 9.7.6, 9.8.2
- go github.com/mattermost/mattermost-server 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible
- Mattermost Mattermost 9.5.7, 9.7.6, 9.8.2, 9.9.1, 9.10.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | >=9.5.0, <9.5.7 >=9.7.0, <9.7.6 >=9.8.0, <9.8.2 >=9.9.0, <9.9.1 all versions |
9.5.7 9.7.6 9.8.2 9.9.1 |
| bitnami | mattermost | >=9.5.0, <9.5.7 >=9.7.0, <9.7.6 >=9.8.0, <9.8.2 >=9.9.0, <=9.9.0 |
9.5.7 9.7.6 9.8.2 |
| 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 |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-39839
advisory, web
-
github.com
/mattermost/mattermost
package
-
pkg.go.dev
/vuln/GO-2024-3024
web
-
github.com
/advisories/GHSA-vg6q-84p8-qvqh
advisory
Sources
- CVE List CVE-2024-39839
- GitHub Advisory GHSA-vg6q-84p8-qvqh
- NVD CVE-2024-39839
- OSV BIT-mattermost-2024-39839
- OSV GO-2024-3024
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.