Vulnerability · Published Jul 18, 2025 · Assigned by Mattermost

CVE-2025-6226IDOR in CreatePost API allows for timeboxed message disclosure

Medium 6.5

In plain English

A medium-severity missing authentication in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 68.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server9.11.17GHSA-7h34-9chr-58qh
Gogithub.com/mattermost/mattermost-server10.5.7GHSA-7h34-9chr-58qh
Gogithub.com/mattermost/mattermost-server10.7.4GHSA-7h34-9chr-58qh
Gogithub.com/mattermost/mattermost-server10.8.2GHSA-7h34-9chr-58qh
Gogithub.com/mattermost/mattermost-server10.5.7+incompatible, 10.7.4+incompatible, 10.8.2+incompatible, 9.11.17+incompatibleGO-2025-3819
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2025-3819
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2025-3819
Gogithub.com/mattermost/mattermost/server/v88.0.0-20250520130510-fa40a8c5d47fGO-2025-3819
Gogithub.com/mattermost/mattermost/server/v88.0.0-20250520130510-fa40a8c5d47fGHSA-7h34-9chr-58qh

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 10.5.0 – through 10.5.610.8.0 – through 10.8.110.7.0 – through 10.7.39.11.0 – through 9.11.16

Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References