Advisory

GHSA-8r89-8w26-cq32

Also known as: CVE-2026-5163, GO-2026-5263

Summary

Mattermost doesn't verify channel membership when processing AI-assisted message rewrites

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-18 09:31 UTC
Modified
2026-06-25 19:56 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.5.0, fixed 11.5.2 (semver)

Fixed versions

11.5.2

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20260401090745-f4d1abe7e8f5 (semver)

Fixed versions

8.0.0-20260401090745-f4d1abe7e8f5

Fix

  • Fixed version 8.0.0-20260401090745-f4d1abe7e8f5
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 0, fixed 5.3.2-0.20260401090745-f4d1abe7e8f5 (semver)

Fixed versions

5.3.2-0.20260401090745-f4d1abe7e8f5

Fix

  • Fixed version 5.3.2-0.20260401090745-f4d1abe7e8f5
    go get github.com/mattermost/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences