CVE-2024-4198
LOW 2.7CVSS 3.1Mattermost fails to fully validate role changes
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.
- Published
- 26 Apr 2024
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-5qx9-9ffj-5r8fGO-2024-2794
- Sources
- NVDJSONOSV GHSA-5qx9-9ffj-5r8fJSONOSV GO-2024-2794JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 8.1.0, < 8.1.12 | 8.1.12 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.5.0, < 9.5.3 | 9.5.3 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:9.6.0:-:*:*:*:*:*:* |
= 9.6.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:9.6.0:rc1:*:*:*:*:*:* |
= 9.6.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:9.6.0:rc2:*:*:*:*:*:* |
= 9.6.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:9.6.0:rc3:*:*:*:*:*:* |
= 9.6.0 | |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.6.0-rc1, < 9.6.1 | 9.6.1 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.5.0, < 9.5.3 | 9.5.3 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 8.1.0, < 8.1.12 | 8.1.12 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 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 | 8.1.12+incompatible, 9.5.3+incompatible, 9.6.1+incompatible |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4198 · ADVISORY
- https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b · WEB
- https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed · WEB
- https://github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424 · WEB
- https://github.com/mattermost/mattermost · PACKAGE
- https://github.com/advisories/GHSA-5qx9-9ffj-5r8f · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Apr 2024)