{"id":"CVE-2024-39839","published":"2024-08-01T14:05:07Z","modified":"2024-08-01T18:04:42Z","title":"Remote username set to an arbitrary string by remote user","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00338,"percentile":0.27972,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":5.59},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.9.0",">= 9.5.0, <= 9.5.6",">= 9.7.0, <= 9.7.5",">= 9.8.0, <= 9.8.1"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.10.0","9.9.1","9.5.7","9.7.6","9.8.2"]}],"solutions":{"items":["Update Mattermost to versions 9.10.0, 9.9.1, 9.5.7, 9.7.6, 9.8.2 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-01T18:04:29.704681Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=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"],"patched":["9.5.7","9.7.6","9.8.2","9.9.1"],"from":["GHSA-vg6q-84p8-qvqh","GO-2024-3024"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=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"],"patched":["9.5.7+incompatible","9.7.6+incompatible","9.8.2+incompatible","9.9.1+incompatible"],"from":["GO-2024-3024"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-3024"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2024-3024"],"provenance":"source"}],"summary":{"text":"Mattermost's shared channels feature, in versions 9.5.x through 9.5.6, 9.7.x through 9.7.5, 9.8.x through 9.8.1 and 9.9.x through 9.9.0, fails to prevent users from setting their own remote username. An attacker with a user account on a remote server can set their remote username property to an arbitrary string, which then syncs to the local server provided that user has not been synced before, and this requires low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:25Z"},"euvd":{"id":"EUVD-2024-2663","exploited":false,"provenance":"source"}}