Every CVE Search/ Get API key

CVE-2024-4198

Mattermost fails to fully validate role changes

2.7 LowFix available

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

0.50%Up 0.5 points since Apr 27, 2024
90%50%10%1%

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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS: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

Affected packages
PackageAffectedFixed
github.com/mattermost/mattermost-server
Go
9.6.0-rc1 to 9.6.0
9.6.1
github.com/mattermost/mattermost-server
Go
9.5.0 to 9.5.2
9.5.3
github.com/mattermost/mattermost-server
Go
8.1.0 to 8.1.11
8.1.12
github.com/mattermost/mattermost-server
Go
9.6.0-rc1 up to 9.6.1
9.6.1
github.com/mattermost/mattermost-server
Go
9.5.0 up to 9.5.3
9.5.3
github.com/mattermost/mattermost-server
Go
8.1.0 up to 8.1.12
8.1.12
github.com/mattermost/mattermost-server
Go
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

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE 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

MoveEnter Open