Advisory

GHSA-7h34-9chr-58qh

Also known as: CVE-2025-6226, GO-2025-3819

Summary

Mattermost Missing Authentication for Critical Function

Details

Mattermost versions 10.5.x <= 10.5.6, 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 9.11.x <= 9.11.16 fail to verify authorization when retrieving cached posts by PendingPostID which allows an authenticated user to read posts in private channels they don't have access to via guessing the PendingPostID of recently created posts.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-18 09:30 UTC
Modified
2025-07-29 19:44 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.7 (semver)

Fixed versions

10.5.7

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.8.0, fixed 10.8.2 (semver)

Fixed versions

10.8.2

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.7.0, fixed 10.7.4 (semver)

Fixed versions

10.7.4

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.17 (semver)

Fixed versions

9.11.17

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250520130510-fa40a8c5d47f (semver)

Fixed versions

8.0.0-20250520130510-fa40a8c5d47f

Fix

  • Fixed version 8.0.0-20250520130510-fa40a8c5d47f
    go get github.com/mattermost/mattermost/server/[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