CVE-2026-5163 Missing authorization check in AI message rewrite endpoint allows access to private thread content
MediumCVSS 6.5
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | < 5.3.2-0.20260401090745-f4d1abe7e8f5; >= 11.5.0+incompatible, < 11.5.2+incompatible; All versions | 5.3.2-0.20260401090745-f4d1abe7e8f5, 11.5.2+incompatible | Partially fixed |
| Mattermost | >= 11.5.0, <= 11.5.1 | after 11.5.1 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20260401090745-f4d1abe7e8f5; >= 11.5.0, < 11.5.2 | 8.0.0-20260401090745-f4d1abe7e8f5, 11.5.2 | Fixed |
| mattermost server | >= 11.5.0, < 11.5.2 | 11.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 11.5.0, < 11.5.2 | 11.5.2 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20260401090745-f4d1abe7e8f5 | 8.0.0-20260401090745-f4d1abe7e8f5 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | < 5.3.2-0.20260401090745-f4d1abe7e8f5 | 5.3.2-0.20260401090745-f4d1abe7e8f5 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 11.5.0+incompatible, < 11.5.2+incompatible | 11.5.2+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost | >= 11.5.0, <= 11.5.1 | No fix listed |
| mattermost server | >= 11.5.0, < 11.5.2 | 11.5.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- MMSA-2026-00645 vendor-advisory
- github.com vendor-advisory