CVE-2024-39274 json
Malicious remote can add users to arbitrary teams and channels
published 2024-08-01 2 y ago modified 2026-06-17 4 mo ago also GHSA-cmc8-222c-vqp9 , GO-2024-3028 , EUVD-2024-2562
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels
Patch / fix
- go github.com/mattermost/mattermost/server/v8 9.5.7, 9.7.6, 9.8.2, 9.9.1
- go github.com/mattermost/mattermost-server 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible
- Mattermost Mattermost 9.5.7, 9.7.6, 9.8.2, 9.9.1, 9.10.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | >=9.5.0, <9.5.7 >=9.7.0, <9.7.6 >=9.8.0, <9.8.2 >=9.9.0, <9.9.1 all versions |
9.5.7 9.7.6 9.8.2 9.9.1 |
| go | github.com/mattermost/mattermost-server | >=9.5.0+incompatible, <9.5.7+incompatible >=9.7.0+incompatible, <9.7.6+incompatible >=9.8.0+incompatible, <9.8.2+incompatible >=9.9.0+incompatible, <9.9.1+incompatible |
9.5.7+incompatible 9.7.6+incompatible 9.8.2+incompatible 9.9.1+incompatible |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-39274
advisory
-
github.com
/mattermost/mattermost
package
-
pkg.go.dev
/vuln/GO-2024-3028
web
-
github.com
/advisories/GHSA-cmc8-222c-vqp9
advisory
Sources
- CVE List CVE-2024-39274
- GitHub Advisory GHSA-cmc8-222c-vqp9
- NVD CVE-2024-39274
- OSV GO-2024-3028
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.