CVE-2024-39274
MEDIUM 6.5CVSS 3.1Mattermost failed to properly validate that the channel that comes from the sync message is a shared channel
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
- Published
- 1 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-cmc8-222c-vqp9GO-2024-3028
- Sources
- NVDJSONOSV GHSA-cmc8-222c-vqp9JSONOSV GO-2024-3028JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N | |
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* |
>= 9.5.0, < 9.5.7 | 9.5.7 |
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* |
>= 9.7.0, < 9.7.6 | 9.7.6 |
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* |
>= 9.8.0, < 9.8.2 | 9.8.2 |
| NVD | mattermost | mattermostcpe:2.3:a:mattermost:mattermost:9.9.0:*:*:*:*:*:*:* |
= 9.9.0 | |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.5.0, < 9.5.7 | 9.5.7 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.7.0, < 9.7.6 | 9.7.6 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.8.0, < 9.8.2 | 9.8.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.9.0, < 9.9.1 | 9.9.1 |
| OSV | 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 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions | |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39274 · ADVISORY
- https://github.com/mattermost/mattermost · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3028 · WEB
- https://github.com/advisories/GHSA-cmc8-222c-vqp9 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 1 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Aug 2024)