{"id":"CVE-2024-39777","aliases":["EUVD-2024-2628","GHSA-q22q-2rrf-m27p","GO-2024-3092"],"status":"published","title":"Malicious remote can invite itself to an arbitrary local channel","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","severity":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00363,"percentile":0.30549,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284"],"published":"2024-08-01T14:05:03Z","modified":"2026-10-28T02:31:00Z","fixes":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","fixed_in":["9.9.1","9.5.7","9.7.6","9.8.1"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","fixed_in":["9.5.7+incompatible","9.7.6+incompatible","9.8.1+incompatible","9.9.1+incompatible"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.9.0"},{"fixed":"9.9.1"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.5.0"},{"fixed":"9.5.7"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.7.0"},{"fixed":"9.7.6"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.8.0"},{"fixed":"9.8.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"9.9.0"},{"fixed":"9.9.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0"},{"fixed":"9.5.7"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"9.7.0"},{"fixed":"9.7.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"9.8.0"},{"fixed":"9.8.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0+incompatible"},{"fixed":"9.5.7+incompatible"},{"introduced":"9.7.0+incompatible"},{"fixed":"9.7.6+incompatible"},{"introduced":"9.8.0+incompatible"},{"fixed":"9.8.1+incompatible"},{"introduced":"9.9.0+incompatible"},{"fixed":"9.9.1+incompatible"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"mattermost","product":"mattermost"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39777","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q22q-2rrf-m27p","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39777.json","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-39777","title":"Malicious remote can invite itself to an arbitrary local channel","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","status":"published","published":"2024-08-01T14:05:03.701Z","modified":"2024-08-01T16:07:03.592Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:34:18.951288Z"}],"euvd":[{"id":"EUVD-2024-2628","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","status":"published","published":"2024-08-01T14:05:03Z","modified":"2024-08-01T16:07:03Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:50:48.911719Z"}],"ghsa":[{"id":"GHSA-q22q-2rrf-m27p","title":"Mattermost allows unsolicited invites to expose access to local channels","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","status":"published","published":"2024-08-01T15:32:23Z","modified":"2024-11-18T16:26:59Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","level":"critical"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:38:20.012356Z"}],"nvd":[{"id":"CVE-2024-39777","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","status":"published","published":"2024-08-01T15:15:12.37Z","modified":"2026-06-17T07:42:46.44Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","level":"critical","assessor":"primary"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:10:15.933769Z"}],"osv":[{"id":"CVE-2024-39777","title":"Malicious remote can invite itself to an arbitrary local channel","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","status":"published","published":"2024-08-01T14:05:03.701Z","modified":"2026-10-28T02:31:00.649679498Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:44:41.618074Z"},{"id":"GHSA-q22q-2rrf-m27p","title":"Mattermost allows unsolicited invites to expose access to local channels","description":"Mattermost versions 9.9.x \u003c= 9.9.0, 9.5.x \u003c= 9.5.6, 9.7.x \u003c= 9.7.5 and 9.8.x \u003c= 9.8.1 fail to disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.","status":"published","published":"2024-08-01T15:32:23Z","modified":"2024-11-18T16:26:58Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","level":"high"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","level":"critical"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"GO-2024-3092","title":"Mattermost allows unsolicited invites to expose access to local channels in github.com/mattermost/mattermost-server","description":"Mattermost allows unsolicited invites to expose access to local channels in github.com/mattermost/mattermost-server","status":"published","published":"2024-08-30T17:18:07Z","modified":"2026-03-03T04:55:44.129108Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
