{"id":"CVE-2025-6226","published":"2025-07-18T08:48:02Z","modified":"2025-08-07T09:53:06Z","title":"IDOR in CreatePost API allows for timeboxed message disclosure","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00542,"percentile":0.39117,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.82},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.5.0, <= 10.5.6",">= 10.8.0, <= 10.8.1",">= 10.7.0, <= 10.7.3",">= 9.11.0, <= 9.11.16"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.9.0","10.5.8","10.8.2","10.7.4","9.11.17"]}],"solutions":{"items":["Update Mattermost to versions 10.9.0, 10.5.7, 10.8.2, 10.7.4, 9.11.17 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-18T12:39:46.280328Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.5.0, <10.5.7",">=10.8.0, <10.8.2",">=10.7.0, <10.7.4",">=9.11.0, <9.11.17",">=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"],"patched":["10.5.7","10.8.2","10.7.4","9.11.17","9.11.17+incompatible","10.5.7+incompatible","10.7.4+incompatible","10.8.2+incompatible"],"from":["GHSA-7h34-9chr-58qh","GO-2025-3819"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250520130510-fa40a8c5d47f"],"patched":["8.0.0-20250520130510-fa40a8c5d47f"],"from":["GHSA-7h34-9chr-58qh","GO-2025-3819"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3819"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3819"],"provenance":"source"}],"summary":{"text":"The flaw is an insecure direct object reference in Mattermost's CreatePost API, where the server fails to verify authorization when retrieving cached posts by PendingPostID. It affects Mattermost versions 10.5.x up to and including 10.5.6, 10.8.x up to and including 10.8.1, 10.7.x up to and including 10.7.3, and 9.11.x up to and including 9.11.16. An authenticated user, with no user interaction and over the network, can read posts in private channels they lack access to by guessing the PendingPostID of recently created posts, which exposes messages only for a limited time window.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:49Z"},"euvd":{"id":"EUVD-2025-21867","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-50052","published":"2024-10-29","fixed":"8.0.0-20240926115259-20ed58906adc","kev":false},{"cve":"CVE-2025-4573","published":"2025-06-11","fixed":"8.0.0-20250414112942-77892234944b","kev":false},{"cve":"CVE-2025-4128","published":"2025-06-11","fixed":"8.0.0-20250422131222-701ddc896a10","kev":false},{"cve":"CVE-2025-6226","published":"2025-07-18","fixed":"8.0.0-20250520130510-fa40a8c5d47f","kev":false},{"cve":"CVE-2025-6233","published":"2025-07-18","fixed":"8.0.0-20250529054450-d38c27f96fcf","kev":false,"link":{"from":"CVE-2025-6226","to":"CVE-2025-6233","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.5.7+incompatible","toFixed":"10.5.8","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250520130510-fa40a8c5d47f","toFixed":"8.0.0-20250529054450-d38c27f96fcf","daysApart":0}]}},{"cve":"CVE-2025-6227","published":"2025-07-18","fixed":"8.0.0-20250612074655-8f8612c63783","kev":false,"link":{"from":"CVE-2025-6226","to":"CVE-2025-6227","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.5.7+incompatible","toFixed":"10.5.8","daysApart":0}]}},{"cve":"CVE-2025-36530","published":"2025-08-21","fixed":"8.0.0-20250619095651-9dd0b3943e55","kev":false},{"cve":"CVE-2025-3227","published":"2025-06-20","fixed":"10.8.1","kev":false,"link":{"from":"CVE-2025-3227","to":"CVE-2025-6226","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250520060012-d0380305ef7a","toFixed":"8.0.0-20250520130510-fa40a8c5d47f","daysApart":28}]}}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}