{"id":"CVE-2024-39839","aliases":["CVE-2024-39839","GHSA-vg6q-84p8-qvqh","BIT-MATTERMOST-2024-39839","GO-2024-3024"],"related":[],"kind":"vulnerability","state":"published","title":"Remote username set to an arbitrary string by remote user","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Mattermost allows a user on a remote to set their remote username prop to an arbitrary string in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 9.9.x &lt;= 9.9.0, 9.5.x &lt;= 9.5.6, 9.7.x &lt;= 9.7.5, 9.8.x &lt;= 9.8.1 no permiten que los usuarios establezcan su propio nombre de usuario remoto cuando se comparte. Se habilitaron canales, lo que permite a un usuario en un control remoto configurar su nombre de usuario remoto en una cadena arbitraria, que luego se sincronizaría con el servidor local siempre que el usuario no se hubiera sincronizado antes.","source":"nvd"}],"published":"2024-08-01T14:05:07.339Z","modified":"2026-06-17T07:42:53.883Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":"9.9.0","status":"affected"},{"type":"semver","introduced":"9.5.0","lastAffected":"9.5.6","status":"affected"},{"type":"semver","introduced":"9.7.0","lastAffected":"9.7.5","status":"affected"},{"type":"semver","introduced":"9.8.0","lastAffected":"9.8.1","status":"affected"},{"version":"9.10.0","status":"unaffected"},{"version":"9.9.1","status":"unaffected"},{"version":"9.5.7","status":"unaffected"},{"version":"9.7.6","status":"unaffected"},{"version":"9.8.2","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.5.0","status":"affected","fixed":"9.5.7"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.7.0","status":"affected","fixed":"9.7.6"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.8.0","status":"affected","fixed":"9.8.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.9.0","status":"affected","fixed":"9.9.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.5.0+incompatible","status":"affected","fixed":"9.5.7+incompatible"},{"type":"semver","introduced":"9.7.0+incompatible","status":"affected","fixed":"9.7.6+incompatible"},{"type":"semver","introduced":"9.8.0+incompatible","status":"affected","fixed":"9.8.2+incompatible"},{"type":"semver","introduced":"9.9.0+incompatible","status":"affected","fixed":"9.9.1+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.5.0","fixed":"9.5.7"},{"status":"affected","introduced":"9.7.0","fixed":"9.7.6"},{"status":"affected","introduced":"9.8.0","fixed":"9.8.2"},{"status":"affected","version":"9.9.0"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"9.5.0","status":"affected","fixed":"9.5.7"},{"type":"semver","introduced":"9.7.0","status":"affected","fixed":"9.7.6"},{"type":"semver","introduced":"9.8.0","status":"affected","fixed":"9.8.2"},{"type":"semver","introduced":"9.9.0","status":"affected","lastAffected":"9.9.0"}],"ecosystem":"Bitnami","package":"mattermost","purl":"pkg:bitnami/mattermost","source":"bitnami"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39839","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3024","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-vg6q-84p8-qvqh","tags":["advisory"],"sources":["go"]}],"credits":["Juho Forsén"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-01T18:04:29.704Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39839","url":"https://www.cve.org/CVERecord?id=CVE-2024-39839","licence":"CVE Terms of Use","modified":"2024-08-01T18:04:42.351Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vg6q-84p8-qvqh","url":"https://github.com/advisories/GHSA-vg6q-84p8-qvqh","licence":"CC-BY-4.0","modified":"2024-09-05T20:11:49.600Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3024","url":"https://pkg.go.dev/vuln/GO-2024-3024","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:36.197Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39839","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39839","licence":"Public domain","modified":"2026-06-17T07:42:53.883Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MATTERMOST-2024-39839","url":"https://osv.dev/vulnerability/BIT-MATTERMOST-2024-39839","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:58:43.509Z","epss":{"score":0.00338,"percentile":0.29235,"date":"2026-12-01T12:00:22.000Z"}}