Missing authorization check in AI message rewrite endpoint allows access to private thread content
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server Go |
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server Go |
|
≥ 11.5.0+incompatible · < 11.5.2+incompatible
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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
From the CVE record · Mattermost
Mattermost 11.5.x through 11.5.1 fails to verify channel membership when processing AI-assisted message rewrites. An authenticated attacker can send a crafted request to the post rewrite endpoint to read threads in private channels and direct messages they cannot access.
Teams running Mattermost 11.5.x through 11.5.1 or the affected Go packages github.com/mattermost/mattermost/server/v8, github.com/mattermost/mattermost-server, github.com/mattermost/mattermost-server/v5, or github.com/mattermost/mattermost-server/v6 should check their versions.