{"id":"CVE-2025-6226","aliases":["CVE-2025-6226","GHSA-7h34-9chr-58qh","GO-2025-3819"],"related":[],"kind":"vulnerability","state":"published","title":"IDOR in CreatePost API allows for timeboxed message disclosure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"Mattermost Missing Authentication for Critical Function in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 10.5.x &lt;= 10.5.6, 10.8.x &lt;= 10.8.1, 10.7.x &lt;= 10.7.3, 9.11.x &lt;= 9.11.16 no pueden verificar la autorización al recuperar publicaciones en caché mediante PendingPostID, lo que permite que un usuario autenticado lea publicaciones en canales privados a los que no tiene acceso al adivinar el PendingPostID de publicaciones creadas recientemente.","source":"nvd"}],"published":"2025-07-18T08:48:02.717Z","modified":"2026-06-17T10:01:25.027Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.6","status":"affected"},{"type":"semver","introduced":"10.8.0","lastAffected":"10.8.1","status":"affected"},{"type":"semver","introduced":"10.7.0","lastAffected":"10.7.3","status":"affected"},{"type":"semver","introduced":"9.11.0","lastAffected":"9.11.16","status":"affected"},{"version":"10.9.0","status":"unaffected"},{"version":"10.5.8","status":"unaffected"},{"version":"10.8.2","status":"unaffected"},{"version":"10.7.4","status":"unaffected"},{"version":"9.11.17","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.5.0","status":"affected","fixed":"10.5.7"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.8.0","status":"affected","fixed":"10.8.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.7.0","status":"affected","fixed":"10.7.4"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0","status":"affected","fixed":"9.11.17"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250520130510-fa40a8c5d47f"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0+incompatible","status":"affected","fixed":"9.11.17+incompatible"},{"type":"semver","introduced":"10.5.0+incompatible","status":"affected","fixed":"10.5.7+incompatible"},{"type":"semver","introduced":"10.7.0+incompatible","status":"affected","fixed":"10.7.4+incompatible"},{"type":"semver","introduced":"10.8.0+incompatible","status":"affected","fixed":"10.8.2+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250520130510-fa40a8c5d47f"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.11.0","fixed":"9.11.17"},{"status":"affected","introduced":"10.5.0","fixed":"10.5.7"},{"status":"affected","introduced":"10.7.0","fixed":"10.7.4"},{"status":"affected","introduced":"10.8.0","fixed":"10.8.2"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6226","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/fa40a8c5d47fed5c166429a1c1bd95d62b241d89","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-7h34-9chr-58qh","tags":["advisory"],"sources":["go"]}],"credits":["Dawid Kulikowski (daw10)"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-18T12:39:46.280Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6226","url":"https://www.cve.org/CVERecord?id=CVE-2025-6226","licence":"CVE Terms of Use","modified":"2025-08-07T09:53:06.698Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7h34-9chr-58qh","url":"https://github.com/advisories/GHSA-7h34-9chr-58qh","licence":"CC-BY-4.0","modified":"2025-07-29T19:44:30.412Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3819","url":"https://pkg.go.dev/vuln/GO-2025-3819","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:44.224Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6226","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6226","licence":"Public domain","modified":"2026-06-17T10:01:25.027Z"}],"updatedAt":"2026-11-25T22:59:01.408Z","epss":{"score":0.00371,"percentile":0.33072,"date":"2026-12-01T12:00:22.000Z"}}