Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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