CVE-2024-4195 json
Mattermost allows team admins to promote guests to team admins
published 2024-04-26 2 y ago modified 2026-06-17 4 mo ago also GHSA-5fh7-7mw7-mmx5 , GO-2024-2793 , EUVD-2024-1100
- cvss
- 2.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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 a team admin to promote guests to team admins via crafted HTTP requests.
Patch / fix
- go github.com/mattermost/mattermost-server 8.1.12, 8.1.12+incompatible, 9.5.3, 9.5.3+incompatible
- Mattermost Mattermost 8.1.12, 9.5.3, 9.6.1, 9.7.0
- jenkins mattermost 8.1.12, 9.5.3, 9.6.1, 9.7.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-4195 updated cvss 2.7
mattermost: fail to fully validate role changes leading to promote guests to team admins
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-docs-rhel8, advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-scanner-db-rhel8affected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-grafananot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server | >=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.5.3 8.1.12 8.1.12+incompatible 9.5.3+incompatible |
Affected products
- Mattermost Mattermost
- jenkins mattermost
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/mattermost/mattermost/commit/1e3497e0595bb4f9908c94dd9d4685d48556b7e8
web
-
github.com
/mattermost/mattermost/commit/f0872dd4e4ba34f061aa6982a71c7c29532aac2e
web
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-4195
advisory
-
github.com
/mattermost/mattermost
package
-
github.com
/advisories/GHSA-5fh7-7mw7-mmx5
advisory
Sources
- CVE List CVE-2024-4195
- GitHub Advisory GHSA-5fh7-7mw7-mmx5
- NVD CVE-2024-4195
- OSV GO-2024-2793
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.