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

- Severity: Medium 6.5 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-07-18T08:48:02.717Z
- Modified: 2026-06-17T10:01:25.027Z
- Also known as: GHSA-7h34-9chr-58qh, GO-2025-3819
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 10.5.0 up to 10.5.6; from 10.8.0 up to 10.8.1; from 10.7.0 up to 10.7.3; from 9.11.0 up to 9.11.16 (not affected: 10.9.0; 10.5.8; 10.8.2; 10.7.4; 9.11.17)
- github.com/mattermost/mattermost-server (Go): from 10.5.0 before 10.5.7; from 10.8.0 before 10.8.2; from 10.7.0 before 10.7.4; from 9.11.0 before 9.11.17; from 9.11.0+incompatible before 9.11.17+incompatible; from 10.5.0+incompatible before 10.5.7+incompatible; from 10.7.0+incompatible before 10.7.4+incompatible; from 10.8.0+incompatible before 10.8.2+incompatible
- github.com/mattermost/mattermost/server/v8 (Go): before 8.0.0-20250520130510-fa40a8c5d47f
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 9.11.0 before 9.11.17; from 10.5.0 before 10.5.7; from 10.7.0 before 10.7.4; from 10.8.0 before 10.8.2

## Every score

- Mattermost: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2025-6226](https://www.cve.org/CVERecord?id=CVE-2025-6226), CVE Terms of Use, modified 2025-08-07
- GitHub Advisory Database: [GHSA-7h34-9chr-58qh](https://github.com/advisories/GHSA-7h34-9chr-58qh), CC-BY-4.0, modified 2025-07-29
- Go Vulnerability Database: [GO-2025-3819](https://pkg.go.dev/vuln/GO-2025-3819), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-6226](https://nvd.nist.gov/vuln/detail/CVE-2025-6226), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6226 · Whole record: https://cve.day/CVE-2025-6226.json · Rebuilt by cve.day 2026-11-25T22:59:01.408Z
