{"id":"CVE-2024-39839","summary":"Remote username set to an arbitrary string by remote user","details":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5, 9.8.x \u003c= 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.","aliases":["BIT-mattermost-2024-39839","GHSA-vg6q-84p8-qvqh","GO-2024-3024"],"modified":"2026-08-12T03:51:11.776155018Z","published":"2024-08-01T14:05:07.339Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39839.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"9.9.0"},{"last_affected":"9.9.0"},{"introduced":"9.5.0"},{"last_affected":"9.5.6"},{"introduced":"9.7.0"},{"last_affected":"9.7.5"},{"introduced":"9.8.0"},{"last_affected":"9.8.1"}]}],"cna_assigner":"Mattermost","cwe_ids":["CWE-284"]},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39839.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39839"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"99d819d25d0b16b3faed901b1fe5c41de7655e9c"},{"fixed":"55b24d27c857936c742992b6e3ca94bb2c5c3dac"},{"introduced":"7a9257d35b66fc46a7ac682dc6b720857c630ee9"},{"fixed":"d45148a45866f35884cf8c2bb1c2feab9c61c2df"},{"introduced":"015002180e109f0384c511a01dede846c549ce35"},{"fixed":"33db68643e85d71af769f4bb1c788a085a92ed8c"},{"introduced":"4179e17b491ec5292ca6e157d7b216b464bce397"},{"last_affected":"4179e17b491ec5292ca6e157d7b216b464bce397"}],"database_specific":{"cpe":["cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost_server:9.9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.5.0"},{"fixed":"9.5.7"},{"introduced":"9.7.0"},{"fixed":"9.7.6"},{"introduced":"9.8.0"},{"fixed":"9.8.2"},{"introduced":"9.9.0"},{"last_affected":"9.9.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["9.9.0","v9.8.2-rc3","v9.7.6-rc3","v9.8.2-rc2","v9.7.6-rc2","v9.5.7-rc2","v9.8.2-rc1","v9.7.6-rc1","v9.5.7-rc1","v9.5.6","v9.7.5","v9.9.0-rc4","v9.9.0","@mattermost/types@9.9.0","@mattermost/client@9.9.0","v9.5.6-rc2","v9.7.5-rc2","v9.8.1-rc2","v9.8.1","v9.8.1-rc1","v9.5.6-rc1","v9.7.5-rc1","v9.5.5-rc1","v9.5.5","v9.7.4-rc1","v9.7.4","v9.8.0-rc4","v9.8.0","@mattermost/types@9.8.0","@mattermost/client@9.8.0","v9.7.3","v9.5.4-rc2","v9.5.4","v9.7.2-rc1","v9.7.2","v9.5.4-rc1","v9.7.1","v9.7.0-rc3","v9.7.0","@mattermost/types@9.7.0","@mattermost/client@9.7.0","v9.5.3","v9.5.3-rc3","v9.5.3-rc2","v9.5.3-rc1","v9.5.2","v9.5.1-rc1","v9.5.1","v9.5.0-rc3","v9.5.0","@mattermost/types@9.5.0","@mattermost/client@9.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39839.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}