CVE-2025-6226 in Mattermost Server
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mattermost | Mattermost Server | ≥ 9.11.0, < 9.11.17 ≥ 10.5.0, < 10.5.7 ≥ 10.7.0, < 10.7.4 ≥ 10.8.0, < 10.8.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-6226 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-031353-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2025-07-18 |
| Last modified | 2025-10-02 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-306: Missing Authentication for Critical Function
Software does not perform any authentication for functionality that requires a verified identity.
Related attack patterns (CAPEC)
CAPEC-12 Choosing Message Identifier via CWE-306
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306
CAPEC-62 Cross Site Request Forgery via CWE-306
CAPEC-166 Force the System to Reset Values via CWE-306
CAPEC-216 Communication Channel Manipulation via CWE-306
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
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 are vulnerable to unauthorized access of cached posts in private channels due to a failure in verifying authorization.
An authenticated user can exploit this vulnerability by guessing the PendingPostID of recently created posts to read posts in private channels they do not have access to.
Questions
What is CVE-2025-6226?
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 are vulnerable to unauthorized access of cached posts in private channels due to a failure in verifying authorization.
What is the CVSS score for CVE-2025-6226?
CVE-2025-6226 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2025-6226 actively exploited?
No confirmed active exploitation of CVE-2025-6226 as of 2026-05-30.
How do I remediate CVE-2025-6226?
Priority: HIGH. Advisory: https://mattermost.com/security-updates PSIRT: [email protected]
What systems are affected by CVE-2025-6226?
CVE-2025-6226 affects Mattermost Mattermost Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mattermost","product":"Mattermost Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-10-02.