CVE-2025-6226 IDOR in CreatePost API allows for timeboxed message disclosure
MediumCVSS 6.5
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.17+incompatible; >= 9.11.0, < 9.11.17; >= 10.5.0+incompatible, < 10.5.7+incompatible; >= 10.5.0, < 10.5.7 +5 more | 9.11.17, 9.11.17+incompatible, 10.5.7, 10.5.7+incompatible, 10.7.4, 10.7.4+incompatible, 10.8.2, 10.8.2+incompatible | Partially fixed |
| Mattermost | >= 9.11.0, <= 9.11.16; >= 10.5.0, <= 10.5.6; >= 10.7.0, <= 10.7.3; >= 10.8.0, <= 10.8.1 | after 9.11.16, 10.5.6, 10.7.3, 10.8.1 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250520130510-fa40a8c5d47f | 8.0.0-20250520130510-fa40a8c5d47f | Fixed |
| 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 | 9.11.17, 10.5.7, 10.7.4, 10.8.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0, < 10.5.7 | 10.5.7 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.8.0, < 10.8.2 | 10.8.2 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.7.0, < 10.7.4 | 10.7.4 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0, < 9.11.17 | 9.11.17 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250520130510-fa40a8c5d47f | 8.0.0-20250520130510-fa40a8c5d47f |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.17+incompatible | 9.11.17+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0+incompatible, < 10.5.7+incompatible | 10.5.7+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.7.0+incompatible, < 10.7.4+incompatible | 10.7.4+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.8.0+incompatible, < 10.8.2+incompatible | 10.8.2+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost | >= 10.5.0, <= 10.5.6 | No fix listed |
| Mattermost | >= 10.8.0, <= 10.8.1 | No fix listed |
| Mattermost | >= 10.7.0, <= 10.7.3 | No fix listed |
| Mattermost | >= 9.11.0, <= 9.11.16 | No fix listed |
| mattermost server | >= 9.11.0, < 9.11.17 | 9.11.17 |
| mattermost server | >= 10.5.0, < 10.5.7 | 10.5.7 |
| mattermost server | >= 10.7.0, < 10.7.4 | 10.7.4 |
| mattermost server | >= 10.8.0, < 10.8.2 | 10.8.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- mattermost.com vendor-advisory
- github.com vendor-advisory