{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39839","id":"CVE-2024-39839","title":"Remote username set to an arbitrary string by remote user","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.","descriptionLong":"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":"2024-08-01T14:05:07.339Z","updated":"2026-10-28T02:31:04.048968434Z","reserved":"2024-07-23T18:35:14.805Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"status":"affected","version":"9.9.0"},{"lessThanOrEqual":"9.5.6","status":"affected","version":"9.5.0","versionType":"semver"},{"lessThanOrEqual":"9.7.5","status":"affected","version":"9.7.0","versionType":"semver"},{"lessThanOrEqual":"9.8.1","status":"affected","version":"9.8.0","versionType":"semver"},{"status":"unaffected","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"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=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"],"fixed":["9.5.7","9.7.6","9.8.2","9.9.1"],"advisory":"GHSA-vg6q-84p8-qvqh"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["9.5.7+incompatible","9.7.6+incompatible","9.8.2+incompatible","9.9.1+incompatible"],"advisory":"GO-2024-3024"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-3024"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2024-3024"}],"cwes":["CWE-284"],"aliases":["BIT-mattermost-2024-39839","GHSA-vg6q-84p8-qvqh","GO-2024-3024"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39839.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39839","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3024","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vg6q-84p8-qvqh","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00338,"epssPercentile":0.27832,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39839","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39839","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39839","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vg6q-84p8-qvqh","ok":true,"note":"GHSA-vg6q-84p8-qvqh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-39839","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}