# CVE-2026-5163: Missing authorization check in AI message rewrite endpoint allows access to private thread content

- Severity: Medium 6.5 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-05-18T08:11:13.972Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-8r89-8w26-cq32, GO-2026-5263
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 11.5.0 up to 11.5.1 (not affected: 11.6.0; 11.5.2)
- github.com/mattermost/mattermost/server/v8 (Go): from 11.5.0 before 11.5.2; before 8.0.0-20260401090745-f4d1abe7e8f5
- github.com/mattermost/mattermost-server (Go): before 5.3.2-0.20260401090745-f4d1abe7e8f5; from 11.5.0+incompatible before 11.5.2+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 11.5.0 before 11.5.2

## Every score

- Mattermost: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5163> (advisory)
- <https://github.com/mattermost/mattermost/commit/f4d1abe7e8f545f1a87f463fa9fe451c731aebf8> (web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-8r89-8w26-cq32> (advisory)

## Sources

- CVE List: [CVE-2026-5163](https://www.cve.org/CVERecord?id=CVE-2026-5163), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-8r89-8w26-cq32](https://github.com/advisories/GHSA-8r89-8w26-cq32), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5263](https://pkg.go.dev/vuln/GO-2026-5263), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-5163](https://nvd.nist.gov/vuln/detail/CVE-2026-5163), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-5163 · Whole record: https://cve.day/CVE-2026-5163.json · Rebuilt by cve.day 2026-11-25T22:59:21.916Z
