{"id":"CVE-2024-36257","summary":"Lack of permission check when updating the profile picture of a remote user (shared channels enabled)","details":"Mattermost versions 9.5.x \u003c= 9.5.5 and 9.8.0, when using shared channels with multiple remote servers connected, fail to check that the remote server A requesting the server B to update the profile picture of a user is the remote that actually has the user as a local one . This allows a malicious remote A to change the profile images of users that belong to another remote server C that is connected to the server A.","modified":"2026-08-12T03:51:44.314734624Z","published":"2024-07-03T08:29:10.457Z","database_specific":{"cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36257.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"9.8.0"},{"last_affected":"9.8.0"},{"introduced":"9.5.0"},{"last_affected":"9.5.5"}]}],"cna_assigner":"Mattermost"},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36257.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36257"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"99d819d25d0b16b3faed901b1fe5c41de7655e9c"},{"fixed":"01723a784c5ed96feb0f5c90518f8078ae798178"},{"introduced":"015002180e109f0384c511a01dede846c549ce35"},{"last_affected":"015002180e109f0384c511a01dede846c549ce35"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost:9.8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.5.0"},{"fixed":"9.5.6"},{"introduced":"9.8.0"},{"last_affected":"9.8.0"}]}}],"versions":["9.8.0","v9.5.6-rc2","v9.5.6-rc1","v9.5.5-rc1","v9.5.5","v9.8.0-rc4","v9.8.0","@mattermost/types@9.8.0","@mattermost/client@9.8.0","v9.5.4-rc2","v9.5.4","v9.5.4-rc1","v9.5.3","v9.5.3-rc3","v9.5.3-rc2","v9.5.3-rc1","v9.5.2","v9.5.1-rc1","v9.5.1","v9.5.0-rc3","v9.5.0","@mattermost/types@9.5.0","@mattermost/client@9.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36257.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}