{"id":"CVE-2024-39777","aliases":["CVE-2024-39777","GHSA-q22q-2rrf-m27p","GO-2024-3092"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious remote can invite itself to an arbitrary local channel","summary":"Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 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.","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 and 9.8.x <= 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.","source":"cvelist"},{"lang":"en","text":"Mattermost allows unsolicited invites to expose access to local channels 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 y 9.8.x &lt;= 9.8.1 no permiten invitaciones no solicitadas para exponer el acceso a canales locales, cuando los canales compartidos están habilitados, lo que permite que un control remoto malicioso envíe una invitación con el ID de un canal local existente, y ese canal local se compartirá sin el consentimiento del administrador local.","source":"nvd"}],"published":"2024-08-01T14:05:03.701Z","modified":"2026-06-17T07:42:46.440Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"}],"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":[{"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","cpe":"cpe:2.3:a:mattermost:mattermost:-:*:*:*:*:*:*:*","source":"cvelist"},{"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","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.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.1+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","cpe":"cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39777","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-q22q-2rrf-m27p","tags":["advisory"],"sources":["go"]}],"credits":["Juho Forsén"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-01T14:33:32.102Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39777","url":"https://www.cve.org/CVERecord?id=CVE-2024-39777","licence":"CVE Terms of Use","modified":"2024-08-01T16:07:03.592Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q22q-2rrf-m27p","url":"https://github.com/advisories/GHSA-q22q-2rrf-m27p","licence":"CC-BY-4.0","modified":"2024-11-18T16:26:58.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3092","url":"https://pkg.go.dev/vuln/GO-2024-3092","licence":"CC-BY-4.0","modified":"2026-03-03T04:55:44.129Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39777","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39777","licence":"Public domain","modified":"2026-06-17T07:42:46.440Z"}],"updatedAt":"2026-11-25T22:58:43.507Z","epss":{"score":0.00363,"percentile":0.32145,"date":"2026-12-01T12:00:22.000Z"}}