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

Published Jul 18, 2025
·
Updated

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.

Other sources

Mattermost versions 10.5.x <= 10.5.7, 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.

MITRE

Affected Software

10 affected componentsFixes available
Mattermost Mattermost<=10.5.6, <=10.8.1, <=10.7.3, <=9.11.16
go/github.com/mattermost/mattermost/server/v8<8.0.0-20250520130510-fa40a8c5d47f
8.0.0-20250520130510-fa40a8c5d47f
go/github.com/mattermost/mattermost-server>=9.11.0<9.11.17
9.11.17
go/github.com/mattermost/mattermost-server>=10.7.0<10.7.4
10.7.4
go/github.com/mattermost/mattermost-server>=10.8.0<10.8.2
10.8.2
go/github.com/mattermost/mattermost-server>=10.5.0<10.5.7
10.5.7
Mattermost Mattermost Server>=9.11.0<9.11.17
Mattermost Mattermost Server>=10.5.0<10.5.7
Mattermost Mattermost Server>=10.7.0<10.7.4
Mattermost Mattermost Server>=10.8.0<10.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/mattermost/mattermost/server/v8 to a version that resolves this vulnerability.

    Fixed in 8.0.0-20250520130510-fa40a8c5d47f
  2. Upgrade

    Upgrade go/github.com/mattermost/mattermost-server to a version that resolves this vulnerability.

    Fixed in 9.11.17
  3. Upgrade

    Upgrade go/github.com/mattermost/mattermost-server to a version that resolves this vulnerability.

    Fixed in 10.7.4
  4. Upgrade

    Upgrade go/github.com/mattermost/mattermost-server to a version that resolves this vulnerability.

    Fixed in 10.8.2
  5. Upgrade

    Upgrade go/github.com/mattermost/mattermost-server to a version that resolves this vulnerability.

    Fixed in 10.5.7
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.5.7
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.7.4
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.8.2
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.9.0
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.11.17

Event History

Jul 18, 2025
CVE Published
via MITRE·08:48 AM
Data Sourced
via MITRE·08:48 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
Affected Software
Advisory Published
via GitHub·09:30 AM
Data Sourced
via GitHub·09:30 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-6226?

CVE-2025-6226 has been classified with a severity rating of high due to its potential to expose private channel posts.

2

How do I fix CVE-2025-6226?

To fix CVE-2025-6226, upgrade Mattermost to versions above 10.5.6, 10.8.1, 10.7.3, or 9.11.16.

3

Who is affected by CVE-2025-6226?

Users utilizing Mattermost versions 10.5.x up to 10.5.6, 10.8.x up to 10.8.1, 10.7.x up to 10.7.3, or 9.11.x up to 9.11.16 are affected by CVE-2025-6226.

4

What type of vulnerability is CVE-2025-6226?

CVE-2025-6226 is an authorization vulnerability that allows users to access restricted posts in private channels.

5

Can CVE-2025-6226 be exploited remotely?

Yes, CVE-2025-6226 can be exploited by an authenticated user remotely through the manipulation of PendingPostID.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203