CVE-2025-6226
JSON

6.5medium

IDOR in CreatePost API allows for timeboxed message disclosure

Severity
6.5medium CVSS:3.1 by Mattermost
Exploit likelihood
0.37% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-7h34-9chr-58qhGO-2025-3819

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

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.5.0 up to 10.5.6, from 10.8.0 up to 10.8.1, from 10.7.0 up to 10.7.3, from 9.11.0 up to 9.11.16
Not affected: 10.9.0, 10.5.8, 10.8.2, 10.7.4, 9.11.17
CVE List
github.com/mattermost/mattermost-server (Go)from 10.5.0 before 10.5.7, from 10.8.0 before 10.8.2, from 10.7.0 before 10.7.4, from 9.11.0 before 9.11.17, from 9.11.0+incompatible before 9.11.17+incompatible, from 10.5.0+incompatible before 10.5.7+incompatible, from 10.7.0+incompatible before 10.7.4+incompatible, from 10.8.0+incompatible before 10.8.2+incompatibleGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20250520130510-fa40a8c5d47fGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 9.11.0 before 9.11.17, from 10.5.0 before 10.5.7, from 10.7.0 before 10.7.4, from 10.8.0 before 10.8.2NVD

All scores

Mattermost6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-306

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Mattermost Missing Authentication for Critical Function in github.com/mattermost/mattermost-server

NVD (es)

Las versiones de Mattermost 10.5.x &lt;= 10.5.6, 10.8.x &lt;= 10.8.1, 10.7.x &lt;= 10.7.3, 9.11.x &lt;= 9.11.16 no pueden verificar la autorización al recuperar publicaciones en caché mediante PendingPostID, lo que permite que un usuario autenticado lea publicaciones en canales privados a los que no tiene acceso al adivinar el PendingPostID de publicaciones creadas recientemente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-6226 changed 2025-08-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-7h34-9chr-58qh changed 2025-07-29CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3819 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-6226 changed 2026-06-17Public domain