CVE-2025-6226
MEDIUM 6.5CVSS 3.1Mattermost Missing Authentication for Critical Function
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.
- Published
- 18 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-306
- Also known as
- GHSA-7h34-9chr-58qhGO-2025-3819
- Sources
- NVDJSONOSV GHSA-7h34-9chr-58qhJSONOSV GO-2025-3819JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.11.0, < 9.11.17 | 9.11.17 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.7 | 10.5.7 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.7.0, < 10.7.4 | 10.7.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.8.0, < 10.8.2 | 10.8.2 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.5.0, < 10.5.7 | 10.5.7 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.8.0, < 10.8.2 | 10.8.2 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.7.0, < 10.7.4 | 10.7.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.11.0, < 9.11.17 | 9.11.17 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250520130510-fa40a8c5d47f | 8.0.0-20250520130510-fa40a8c5d47f |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.11.0+incompatible, < 9.11.17+incompatible; >= 10.5.0+incompatible, < 10.5.7+incompatible; >= 10.7.0+incompatible, < 10.7.4+incompatible; >= 10.8.0+incompatible, < 10.8.2+incompatible | 9.11.17+incompatible, 10.5.7+incompatible, 10.7.4+incompatible, 10.8.2+incompatible |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6226 · ADVISORY
- https://github.com/mattermost/mattermost/commit/fa40a8c5d47fed5c166429a1c1bd95d62b241d89 · WEB
- https://github.com/mattermost/mattermost · PACKAGE
- https://github.com/advisories/GHSA-7h34-9chr-58qh · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Jul 2025)