CVE-2024-29221 json
Invite ID available to team admins even without the "Add Members" permission
published 2024-04-05 2 y ago modified 2026-06-17 4 mo ago also BIT-mattermost-2024-29221 , EUVD-2024-1318 , GHSA-w67v-ph4x-f48q , GO-2024-2706
- cvss
- 4.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 26%
- public exploits
- 0
- none known
Summary
Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the "Add Members" permission was explicitly removed from team admins.
Patch / fix
- go github.com/mattermost/mattermost/server/v8 8.1.11, 9.3.3, 9.4.4, 9.5.2
- bitnami mattermost 8.1.11, 9.3.3, 9.4.4, 9.5.2
- go github.com/mattermost/mattermost-server 9.3.3+incompatible, 9.4.4+incompatible, 9.5.2+incompatible
- Mattermost Mattermost 8.1.11, 9.3.3, 9.4.4, 9.5.2, 9.6.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | >=8.1.0, <8.1.11 >=9.5.0, <9.5.2 >=9.4.0, <9.4.4 >=9.3.0, <9.3.3 all versions |
8.1.11 9.5.2 9.4.4 9.3.3 |
| bitnami | mattermost | >=8.1.0, <8.1.11 >=9.3.0, <9.3.3 >=9.4.0, <9.4.4 >=9.5.0, <9.5.2 |
8.1.11 9.3.3 9.4.4 9.5.2 |
| go | github.com/mattermost/mattermost-server | >=9.3.0+incompatible, <9.3.3+incompatible >=9.4.0+incompatible, <9.4.4+incompatible >=9.5.0+incompatible, <9.5.2+incompatible |
9.3.3+incompatible 9.4.4+incompatible 9.5.2+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
-
github.com
/mattermost/mattermost/commit/0dc03fbc6e3c9afb14137e72ab3fa6f5a0125b9c
web
-
github.com
/mattermost/mattermost/commit/5cce9fed7363386afebd81a58fb5fab7d2729c8f
web
-
github.com
/mattermost/mattermost/commit/a5784f34ba6592c6454b8742f24af9d06279e347
web
-
github.com
/mattermost/mattermost/commit/dd3fe2991a70a41790d6bef5d31afc5957525f3c
web
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-29221
advisory, web
-
github.com
/mattermost/mattermost
package
-
pkg.go.dev
/vuln/GO-2024-2706
web
-
github.com
/advisories/GHSA-w67v-ph4x-f48q
advisory
Sources
- CVE List CVE-2024-29221
- GitHub Advisory GHSA-w67v-ph4x-f48q
- NVD CVE-2024-29221
- OSV BIT-mattermost-2024-29221
- OSV GO-2024-2706
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.