Missing authorization check in AI message rewrite endpoint allows access to private thread content
Summary
| CVE | CVE-2026-5163 |
|---|---|
| State | PUBLISHED |
| Assigner | Mattermost |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-18 09:16:23 UTC |
| Updated | 2026-05-18 19:12:19 UTC |
| 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 |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.000430000 probability, percentile 0.133550000 (date 2026-05-26)
Problem Types: CWE-862 | CWE-862 CWE-862: Missing Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | CVSS | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mattermost | Mattermost Server | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Mattermost | Mattermost | affected 11.5.0 11.5.1 semver | Not specified |
| CNA | Mattermost | Mattermost | unaffected 11.6.0 | Not specified |
| CNA | Mattermost | Mattermost | unaffected 11.5.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| mattermost.com/security-updates | [email protected] | mattermost.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: daw10 (en)
Additional Advisory Data
Solutions
CNA: Update Mattermost to versions 11.6.0, 11.5.2 or higher.
There are currently no legacy QID mappings associated with this CVE.