CVE-2024-29221
LOW 3.8CVSS 3.1Mattermost Server Improper Access Control
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.
- Published
- 5 Apr 2024
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- BIT-mattermost-2024-29221GHSA-w67v-ph4x-f48qGO-2024-2706
- Sources
- NVDJSONOSV GHSA-w67v-ph4x-f48qJSONOSV GO-2024-2706JSON
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:L/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 8.1.0, < 8.1.11 | 8.1.11 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.3.0, < 9.3.3 | 9.3.3 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.4.0, < 9.4.4 | 9.4.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.5.0, < 9.5.2 | 9.5.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 8.1.0, < 8.1.11 | 8.1.11 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.5.0, < 9.5.2 | 9.5.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.4.0, < 9.4.4 | 9.4.4 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | >= 9.3.0, < 9.3.3 | 9.3.3 |
| OSV | 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 |
| 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-29221 · ADVISORY
- https://github.com/mattermost/mattermost/commit/0dc03fbc6e3c9afb14137e72ab3fa6f5a0125b9c · WEB
- https://github.com/mattermost/mattermost/commit/5cce9fed7363386afebd81a58fb5fab7d2729c8f · WEB
- https://github.com/mattermost/mattermost/commit/a5784f34ba6592c6454b8742f24af9d06279e347 · WEB
- https://github.com/mattermost/mattermost/commit/dd3fe2991a70a41790d6bef5d31afc5957525f3c · WEB
- https://github.com/mattermost/mattermost · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-2706 · WEB
- https://github.com/advisories/GHSA-w67v-ph4x-f48q · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Apr 2024)