{"id":"CVE-2026-5163","published":"2026-05-18T08:11:13Z","modified":"2026-05-18T14:40:03Z","title":"Missing authorization check in AI message rewrite endpoint allows access to private thread content","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 11.5.x <= 11.5.1 fail to verify channel membership when processing AI-assisted message rewrites which allows an authenticated attacker to read the content of threads in private channels and direct messages they do not have access to via a crafted request to the post rewrite endpoint.. Mattermost Advisory ID: MMSA-2026-00645","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0034,"percentile":0.19955,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.99},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.5.0, <= 11.5.1"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.6.0","11.5.2"]}],"solutions":{"items":["Update Mattermost to versions 11.6.0, 11.5.2 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-18T14:39:51.793506Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=11.5.0, <11.5.2","<8.0.0-20260401090745-f4d1abe7e8f5"],"patched":["11.5.2","8.0.0-20260401090745-f4d1abe7e8f5"],"from":["GHSA-8r89-8w26-cq32","GO-2026-5263"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":["<5.3.2-0.20260401090745-f4d1abe7e8f5",">=11.5.0+incompatible, <11.5.2+incompatible"],"patched":["5.3.2-0.20260401090745-f4d1abe7e8f5","11.5.2+incompatible"],"from":["GHSA-8r89-8w26-cq32","GO-2026-5263"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5263"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5263"],"provenance":"source"}],"summary":{"text":"The flaw is a missing authorization check in the AI-assisted message rewrite endpoint of Mattermost (versions 11.5.x up to and including 11.5.1), which fails to verify channel membership when processing rewrite requests. An authenticated attacker can send a crafted request to the post rewrite endpoint to read the content of threads in private channels and direct messages they do not have access to, requiring only network access and low-privilege credentials with no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:50Z"},"euvd":{"id":"EUVD-2026-30753","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-4915","published":"2026-05-25","fixed":"8.0.0-20260407102538-faa7d75b4ea0","kev":false,"link":{"from":"CVE-2026-5163","to":"CVE-2026-4915","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260401090745-f4d1abe7e8f5","toFixed":"8.0.0-20260407102538-faa7d75b4ea0","daysApart":7}]}},{"cve":"CVE-2026-3637","published":"2026-05-18","fixed":"11.5.2","kev":false},{"cve":"CVE-2026-4273","published":"2026-05-18","fixed":"11.5.2","kev":false},{"cve":"CVE-2026-4286","published":"2026-05-18","fixed":"11.5.2","kev":false},{"cve":"CVE-2026-5163","published":"2026-05-18","fixed":"11.5.2","kev":false},{"cve":"CVE-2026-6333","published":"2026-05-18","fixed":"11.5.2","kev":false},{"cve":"CVE-2026-6334","published":"2026-05-18","fixed":"11.5.2","kev":false},{"cve":"CVE-2026-6339","published":"2026-05-18","fixed":"11.5.2","kev":false,"link":{"from":"CVE-2026-6339","to":"CVE-2026-5163","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"5.3.2-0.20260327001745-7a339a6438f5","toFixed":"5.3.2-0.20260401090745-f4d1abe7e8f5","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260327001745-7a339a6438f5","toFixed":"8.0.0-20260401090745-f4d1abe7e8f5","daysApart":0}]}}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}