CVE-2024-4198Mattermost Server
Low 2.7
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 16
- CVSS 3.1
- 2.7
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- Yes
- Published
- Apr 26, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 9.6.0-rc1 < 9.6.1 |
9.6.1 |
go get github.com/mattermost/mattermost-server@v9.6.1 |
| Go | github.com/mattermost/mattermost-server |
≥ 9.5.0 < 9.5.3 |
9.5.3 |
go get github.com/mattermost/mattermost-server@v9.5.3 |
| Go | github.com/mattermost/mattermost-server |
≥ 8.1.0 < 8.1.12 |
8.1.12 |
go get github.com/mattermost/mattermost-server@v8.1.12 |
| Go | github.com/mattermost/mattermost-server |
≥ 8.1.0+incompatible < 8.1.12+incompatible |
8.1.12+incompatible |
go get github.com/mattermost/mattermost-server@v8.1.12+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 9.5.0+incompatible < 9.5.3+incompatible |
9.5.3+incompatible |
go get github.com/mattermost/mattermost-server@v9.5.3+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 9.6.0-rc1+incompatible < 9.6.1+incompatible |
9.6.1+incompatible |
go get github.com/mattermost/mattermost-server@v9.6.1+incompatible |
Per OSV / GitHub Advisories (GHSA-5qx9-9ffj-5r8f, GO-2024-2794). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 8.1.0 < 8.1.12 |
| mattermost | mattermost_server | ≥ 9.5.0 < 9.5.3 |
| mattermost | mattermost_server | 9.6.0 |
| mattermost | mattermost_server | 9.6.0 |
| mattermost | mattermost_server | 9.6.0 |
| mattermost | mattermost_server | 9.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory