{"id":"CVE-2024-1942","aliases":["CVE-2024-1942","GHSA-hwjf-4667-gqwx","BIT-MATTERMOST-2024-1942","GO-2024-2592"],"related":["CGA-pwp9-83xj-8wjr"],"kind":"vulnerability","state":"published","title":"Mattermost allows attackers access to posts in channels they are not a member of","summary":"Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, and 9.3.0 fail to sanitize the metadata on posts containing permalinks under specific conditions, which allows an authenticated attacker to access the contents of individual posts in channels they are not a member of.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, and 9.3.0 fail to sanitize the metadata on posts containing permalinks under specific conditions, which allows an authenticated attacker to access the contents of individual posts in channels they are not a member of.","source":"cvelist"},{"lang":"en","text":"Mattermost allows attackers access to posts in channels they are not a member of in github.com/mattermost/mattermost-server.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/mattermost/mattermost/server/v8 before v8.1.9.","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones 8.1.x anteriores a 8.1.9, 9.2.x anteriores a 9.2.5 y 9.3.0 de Mattermost no sanitizan los metadatos de las publicaciones que contienen enlaces permanentes en condiciones específicas, lo que permite a un atacante autenticado acceder al contenido de publicaciones individuales en los canales que no eres miembro de.","source":"nvd"}],"published":"2024-02-29T10:41:38.292Z","modified":"2026-09-10T03:50:06.204Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"type":"semver","introduced":"9.2.0","lastAffected":"9.2.4","status":"affected"},{"type":"semver","introduced":"8.1.0","lastAffected":"8.1.8","status":"affected"},{"version":"9.3.0","status":"affected"},{"version":"9.4","status":"unaffected"},{"version":"9.3.1","status":"unaffected"},{"version":"9.2.5","status":"unaffected"},{"version":"8.1.9","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.3.0","status":"affected","fixed":"9.3.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.2.0","status":"affected","fixed":"9.2.5"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.1.9"}],"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.2.0+incompatible","status":"affected","fixed":"9.2.5+incompatible"},{"type":"semver","introduced":"9.3.0+incompatible","status":"affected","fixed":"9.3.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":"8.1.0","fixed":"8.1.9"},{"status":"affected","introduced":"9.2.0","fixed":"9.2.5"},{"status":"affected","version":"9.3.0"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.1.0","status":"affected","fixed":"8.1.9"},{"type":"semver","introduced":"9.2.0","status":"affected","fixed":"9.2.5"},{"type":"semver","introduced":"9.3.0","status":"affected","lastAffected":"9.3.0"}],"ecosystem":"Bitnami","package":"mattermost","purl":"pkg:bitnami/mattermost","source":"bitnami"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1942","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-hwjf-4667-gqwx","tags":["advisory"],"sources":["go"]}],"credits":["Juho Nurminen"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-12T13:16:00.855Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-1942","url":"https://www.cve.org/CVERecord?id=CVE-2024-1942","licence":"CVE Terms of Use","modified":"2024-08-12T13:16:32.143Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hwjf-4667-gqwx","url":"https://github.com/advisories/GHSA-hwjf-4667-gqwx","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:06.204Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2592","url":"https://pkg.go.dev/vuln/GO-2024-2592","licence":"CC-BY-4.0","modified":"2026-02-04T04:07:19.693Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-1942","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1942","licence":"Public domain","modified":"2026-06-17T07:05:28.180Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MATTERMOST-2024-1942","url":"https://osv.dev/vulnerability/BIT-MATTERMOST-2024-1942","licence":"Apache-2.0","modified":"2025-04-03T14:40:37.652Z"}],"updatedAt":"2026-11-25T22:58:37.188Z","epss":{"score":0.0036,"percentile":0.31757,"date":"2026-12-01T12:00:22.000Z"}}