Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  4. ›
  5. CVE-2026-5163

CVE-2026-5163: Mattermost doesn't verify channel membership when processing AI-assisted message rewrites

May 18, 2026 (updated June 1, 2026)

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

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-5163 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.2-0.20260401090745-f4d1abe7e8f5

Fixed versions

  • 5.3.2-0.20260401090745-f4d1abe7e8f5

Solution

Upgrade to version 5.3.2-0.20260401090745-f4d1abe7e8f5 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/mattermost/mattermost-server/CVE-2026-5163.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:35 +0000.