{"id":"CVE-2024-24776","summary":" Incorrect Authorization leads to Channel Member Count Leak","details":"Mattermost fails to check the required permissions in the POST /api/v4/channels/stats/member_count API resulting in channel member counts being leaked to a user without permissions.\n\n","aliases":["BIT-mattermost-2024-24776","GHSA-r833-w756-h5p2","GO-2024-2566"],"modified":"2026-08-12T03:30:40.762026711Z","published":"2024-02-09T14:50:45.443Z","database_specific":{"cna_assigner":"Mattermost","cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24776.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"last_affected":"8.1.7"},{"introduced":"9.4.0"},{"last_affected":"9.4.0"}]}]},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24776.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24776"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"0"},{"last_affected":"77aeda5cedc8ef60d06da024202b8c7999efd671"}],"database_specific":{"cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"8.1.7"}],"source":"CPE_RANGE"}}],"versions":["v8.1.7-rc3","v8.1.7","v8.1.7-rc2","v8.1.7-rc1","v8.1.6-rc1","v8.1.6","v8.1.5-rc2","v8.1.5","v8.1.5-rc1","v8.1.4-rc2","v8.1.4","v8.1.4-rc1","v8.1.3-rc2","v8.1.3","v8.1.3-rc1","v8.1.2-rc2","v8.1.2","v8.1.2-rc1","v8.1.1-rc2","v8.1.1","@mattermost/types@8.1.1","@mattermost/client@8.1.1","v8.1.1-rc1","v8.1.0-rc2","v8.1.0","cloud-2023-07-26-1","server/public/v0.0.5","cloud-2022-11-24-1","cloud-2022-11-11-1","cloud-2022-10-06-1","cloud-2022-09-08-1","cloud-2022-08-10-1","cloud-2022-07-20-1","v5.2.0-rc2","v5.2.0-rc1","v5.1.0-rc1","v5.0.0-rc1","v4.10.0-rc1","v4.9.0-rc1","v4.8.0-rc1","v4.7.0-rc1","v4.6.0-rc2","v4.6.0-rc1","v4.5.0-rc1","v4.4.0-rc1","v4.3.0-rc1","v4.2.0-rc1","v0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-24776.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}