# CVE-2024-39839: Remote username set to an arbitrary string by remote user

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-08-01T14:05:07.339Z
- Modified: 2026-06-17T07:42:53.883Z
- Also known as: GHSA-vg6q-84p8-qvqh, BIT-MATTERMOST-2024-39839, GO-2024-3024
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: 9.9.0; from 9.5.0 up to 9.5.6; from 9.7.0 up to 9.7.5; from 9.8.0 up to 9.8.1 (not affected: 9.10.0; 9.9.1; 9.5.7; 9.7.6; 9.8.2)
- github.com/mattermost/mattermost/server/v8 (Go): from 9.5.0 before 9.5.7; from 9.7.0 before 9.7.6; from 9.8.0 before 9.8.2; from 9.9.0 before 9.9.1; all versions
- github.com/mattermost/mattermost-server (Go): from 9.5.0+incompatible before 9.5.7+incompatible; from 9.7.0+incompatible before 9.7.6+incompatible; from 9.8.0+incompatible before 9.8.2+incompatible; from 9.9.0+incompatible before 9.9.1+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 9.5.0 before 9.5.7; from 9.7.0 before 9.7.6; from 9.8.0 before 9.8.2; 9.9.0
- mattermost (Bitnami): from 9.5.0 before 9.5.7; from 9.7.0 before 9.7.6; from 9.8.0 before 9.8.2; from 9.9.0 up to 9.9.0

## Every score

- Mattermost: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39839> (advisory, web)
- <https://github.com/mattermost/mattermost> (package)
- <https://pkg.go.dev/vuln/GO-2024-3024> (web)
- <https://github.com/advisories/GHSA-vg6q-84p8-qvqh> (advisory)

## Sources

- CVE List: [CVE-2024-39839](https://www.cve.org/CVERecord?id=CVE-2024-39839), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-vg6q-84p8-qvqh](https://github.com/advisories/GHSA-vg6q-84p8-qvqh), CC-BY-4.0, modified 2024-09-05
- Go Vulnerability Database: [GO-2024-3024](https://pkg.go.dev/vuln/GO-2024-3024), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-39839](https://nvd.nist.gov/vuln/detail/CVE-2024-39839), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2024-39839](https://osv.dev/vulnerability/BIT-MATTERMOST-2024-39839), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2024-39839 · Whole record: https://cve.day/CVE-2024-39839.json · Rebuilt by cve.day 2026-11-25T22:58:43.509Z
