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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-18 · Modified: 2026-05-18
- Aliases: GHSA-8r89-8w26-cq32, GO-2026-5263
- Record: https://cvemate.com/vulnerability/CVE-2026-5163 · JSON: https://cvemate.com/vulnerability/CVE-2026-5163/json

## 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
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.205%, percentile 11.033%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/mattermost mattermost-server (Go): \< 5.3.2-0.20260401090745-f4d1abe7e8f5 \| ≥ 11.5.0+incompatible, \< 11.5.2+incompatible
- github.com/mattermost/mattermost-server v5 (Go): All versions (No fix recorded)
- github.com/mattermost/mattermost-server v6 (Go): All versions (No fix recorded)
- github.com/mattermost/mattermost/server v8 (Go): ≥ 11.5.0, \< 11.5.2 \| \< 8.0.0-20260401090745-f4d1abe7e8f5
- mattermost mattermost: ≥ 11.5.0, ≤ 11.5.1
- mattermost mattermost\_server: ≥ 11.5.0, \< 11.5.2

## References

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

---

Data as of 2026-12-05T19:35:25.069Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
