What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Mattermost 10.5.7, 10.7.4, 10.8.2, 9.11.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-6226 or the next vulnerability affects your stack