{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39777","id":"CVE-2024-39777","title":"Malicious remote can invite itself to an arbitrary local channel","description":"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.","descriptionLong":"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.","published":"2024-08-01T14:05:03.701Z","updated":"2026-10-28T02:31:00.649679498Z","reserved":"2024-07-23T17:55:45.316Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"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","rating":"high","source":"Mattermost"},"metrics":[{"version":"4.0","score":null,"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":"high","source":"GitHub"},{"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","rating":"high","source":"Mattermost"},{"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","rating":"high","source":"mattermost.com"},{"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","rating":"critical","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","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.9.0 <9.9.1",">=9.5.0 <9.5.7",">=9.7.0 <9.7.6",">=9.8.0 <9.8.1","all versions"],"fixed":["9.9.1","9.5.7","9.7.6","9.8.1"],"advisory":"GHSA-q22q-2rrf-m27p"},{"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.1+incompatible",">=9.9.0+incompatible <9.9.1+incompatible"],"fixed":["9.5.7+incompatible","9.7.6+incompatible","9.8.1+incompatible","9.9.1+incompatible"],"advisory":"GO-2024-3092"},{"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-3092"},{"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-3092"}],"cwes":["CWE-284"],"aliases":["GHSA-q22q-2rrf-m27p","GO-2024-3092"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39777.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39777","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://github.com/advisories/GHSA-q22q-2rrf-m27p","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00363,"epssPercentile":0.30912,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39777","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39777","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39777","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q22q-2rrf-m27p","ok":true,"note":"GHSA-q22q-2rrf-m27p"},{"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-39777","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}