Live threats

All CVEs / Mattermost

CVE-2025-6226Mattermost Server

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Jul 18, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-306
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 10.5.0 < 10.5.7 10.5.7 go get github.com/mattermost/mattermost-server@v10.5.7
Go github.com/mattermost/mattermost-server ≥ 10.8.0 < 10.8.2 10.8.2 go get github.com/mattermost/mattermost-server@v10.8.2
Go github.com/mattermost/mattermost-server ≥ 10.7.0 < 10.7.4 10.7.4 go get github.com/mattermost/mattermost-server@v10.7.4
Go github.com/mattermost/mattermost-server ≥ 9.11.0 < 9.11.17 9.11.17 go get github.com/mattermost/mattermost-server@v9.11.17
Go github.com/mattermost/mattermost-server ≥ 9.11.0+incompatible < 9.11.17+incompatible 9.11.17+incompatible go get github.com/mattermost/mattermost-server@v9.11.17+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.5.0+incompatible < 10.5.7+incompatible 10.5.7+incompatible go get github.com/mattermost/mattermost-server@v10.5.7+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.7.0+incompatible < 10.7.4+incompatible 10.7.4+incompatible go get github.com/mattermost/mattermost-server@v10.7.4+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.8.0+incompatible < 10.8.2+incompatible 10.8.2+incompatible go get github.com/mattermost/mattermost-server@v10.8.2+incompatible
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250520130510-fa40a8c5d47f 8.0.0-20250520130510-fa40a8c5d47f go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250520130510-fa40a8c5d47f
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250520130510-fa40a8c5d47f 8.0.0-20250520130510-fa40a8c5d47f go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250520130510-fa40a8c5d47f

Per OSV / GitHub Advisories (GHSA-7h34-9chr-58qh, GO-2025-3819). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 9.11.0 < 9.11.17
mattermostmattermost_server≥ 10.5.0 < 10.5.7
mattermostmattermost_server≥ 10.7.0 < 10.7.4
mattermostmattermost_server≥ 10.8.0 < 10.8.2

Official sources

References

Links published by the sources. Open them with care.