{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-6226","id":"CVE-2025-6226","title":"IDOR in CreatePost API allows for timeboxed message disclosure","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.","descriptionLong":"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":"2025-07-18T08:48:02.717Z","updated":"2026-11-14T02:45:34.989342791Z","reserved":"2025-06-18T10:41:12.541Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.5.6","status":"affected","version":"10.5.0","versionType":"semver"},{"lessThanOrEqual":"10.8.1","status":"affected","version":"10.8.0","versionType":"semver"},{"lessThanOrEqual":"10.7.3","status":"affected","version":"10.7.0","versionType":"semver"},{"lessThanOrEqual":"9.11.16","status":"affected","version":"9.11.0","versionType":"semver"},{"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"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["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"],"advisory":"GHSA-7h34-9chr-58qh"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250520130510-fa40a8c5d47f"],"fixed":["8.0.0-20250520130510-fa40a8c5d47f"],"advisory":"GHSA-7h34-9chr-58qh"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3819"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3819"}],"cwes":["CWE-306"],"aliases":["GHSA-7h34-9chr-58qh","GO-2025-3819"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6226.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6226","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost/commit/fa40a8c5d47fed5c166429a1c1bd95d62b241d89","tags":["web"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://github.com/advisories/GHSA-7h34-9chr-58qh","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00371,"epssPercentile":0.31712,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-6226","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6226","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-6226","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7h34-9chr-58qh","ok":true,"note":"GHSA-7h34-9chr-58qh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-6226","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}