CVE-2024-4198
Mattermost 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
2.7
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.
- Record
CVE-2024-4198- CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-284
- Updated
- 2026-11-02
EUVDEUVD-2024-1107
2.7
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.
- Record
EUVD-2024-1107- CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5qx9-9ffj-5r8f
2.7
Mattermost 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.
- Record
GHSA-5qx9-9ffj-5r8f- CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-284
- Updated
- 2026-11-02
NVD
2.7
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.
- Record
CVE-2024-4198- CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-284
- Updated
- 2026-11-02
OSV
2.7
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.
- Record
CVE-2024-4198- CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-284
- Updated
- 2026-11-02
OSVGHSA-5qx9-9ffj-5r8f
2.7
Mattermost 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.
- Record
GHSA-5qx9-9ffj-5r8f- CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-284
- Updated
- 2026-11-02
OSVGO-2024-2794 No score
Mattermost fails to fully validate role changes in github.com/mattermost/mattermost-server
Mattermost fails to fully validate role changes in github.com/mattermost/mattermost-server
- Record
GO-2024-2794- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/mattermost/mattermost-serverGo |
9.6.0-rc1 to 9.6.0 | 9.6.1 |
github.com/mattermost/mattermost-serverGo |
9.5.0 to 9.5.2 | 9.5.3 |
github.com/mattermost/mattermost-serverGo |
8.1.0 to 8.1.11 | 8.1.12 |
github.com/mattermost/mattermost-serverGo |
9.6.0-rc1 up to 9.6.1 | 9.6.1 |
github.com/mattermost/mattermost-serverGo |
9.5.0 up to 9.5.3 | 9.5.3 |
github.com/mattermost/mattermost-serverGo |
8.1.0 up to 8.1.12 | 8.1.12 |
github.com/mattermost/mattermost-serverGo |
8.1.0+incompatible up to 8.1.12+incompatible, 9.5.0+incompatible up to 9.5.3+incompatible, 9.6.0-rc1+incompatible up to 9.6.1+incompatible | 8.1.12+incompatible9.5.3+incompatible9.6.1+incompatible |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-4198 is a low vulnerability (CVSS 2.7) in Mattermost, published April 26, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.50%, the 43rd percentile. Fixed in github.com/mattermost/mattermost-server 9.6.1.
References
mattermost.com/security-updates
nvd.nist.gov/vuln/detail/CVE-2024-4198
github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b
github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed
github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424
github.com/advisories/GHSA-5qx9-9ffj-5r8f
github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4198.json
github.com/mattermost/mattermost