{"id":"CVE-2024-4198","published":"2024-04-26T08:26:11Z","modified":"2024-08-01T20:33:52Z","title":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which…","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted HTTP requests.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00502,"percentile":0.43868,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.6.0",">= 9.5.0, <= 9.5.2",">= 8.1.0, <= 8.1.11"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.7.0","9.6.1","9.5.3","8.1.12"]}],"solutions":{"items":["Update Mattermost Server to versions 9.7.0, 9.6.1, 9.5.3, 8.1.12 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-24T19:30:28.234536Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=9.6.0-rc1, <9.6.1",">=9.5.0, <9.5.3",">=8.1.0, <8.1.12",">=8.1.0+incompatible, <8.1.12+incompatible",">=9.5.0+incompatible, <9.5.3+incompatible",">=9.6.0-rc1+incompatible, <9.6.1+incompatible"],"patched":["9.6.1","9.5.3","8.1.12","8.1.12+incompatible","9.5.3+incompatible","9.6.1+incompatible"],"from":["GHSA-5qx9-9ffj-5r8f","GO-2024-2794"],"provenance":"source"}],"summary":{"text":"The flaw is an insufficient validation of role changes in Mattermost, affecting the Mattermost product in versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12. An attacker who is authenticated as a team admin and can send crafted HTTP requests to the server can demote users to guest, with network access required and no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:39Z"},"euvd":{"id":"EUVD-2024-1107","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2024-4195","parents":[{"from":"CVE-2024-4195","to":"CVE-2024-4198","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/app/team.go"],"commits":["https://github.com/mattermost/mattermost/commit/1e3497e0595bb4f9908c94dd9d4685d48556b7e8","https://github.com/mattermost/mattermost/commit/f0872dd4e4ba34f061aa6982a71c7c29532aac2e","https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b","https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed"],"basis":"shared function","functions":["UpdateTeamMemberSchemeRoles"]},{"kind":"similar","provenance":"machine","score":0.57,"basis":"same product + CWE + description similarity"}]}]}}