# CVE-2024-29221: Invite ID available to team admins even without the "Add Members" permission

- Severity: Medium 4.7 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2024-04-05T08:15:07.130Z
- Modified: 2026-06-17T07:22:39.530Z
- Also known as: GHSA-w67v-ph4x-f48q, BIT-MATTERMOST-2024-29221, GO-2024-2706
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 9.5.0 up to 9.5.1; from 9.4.0 up to 9.4.3; from 9.3.0 up to 9.3.2; from 8.1.0 up to 8.1.10 (not affected: 9.6.0; 9.5.2; 9.4.4; 9.3.3; 8.1.11)
- github.com/mattermost/mattermost/server/v8 (Go): from 8.1.0 before 8.1.11; from 9.5.0 before 9.5.2; from 9.4.0 before 9.4.4; from 9.3.0 before 9.3.3; all versions
- github.com/mattermost/mattermost-server (Go): from 9.3.0+incompatible before 9.3.3+incompatible; from 9.4.0+incompatible before 9.4.4+incompatible; from 9.5.0+incompatible before 9.5.2+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 8.1.0 before 8.1.11; from 9.3.0 before 9.3.3; from 9.4.0 before 9.4.4; from 9.5.0 before 9.5.2
- mattermost (Bitnami): from 8.1.0 before 8.1.11; from 9.3.0 before 9.3.3; from 9.4.0 before 9.4.4; from 9.5.0 before 9.5.2

## Every score

- Mattermost: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Low

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29221> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-29221](https://www.cve.org/CVERecord?id=CVE-2024-29221), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-w67v-ph4x-f48q](https://github.com/advisories/GHSA-w67v-ph4x-f48q), CC-BY-4.0, modified 2024-12-16
- Go Vulnerability Database: [GO-2024-2706](https://pkg.go.dev/vuln/GO-2024-2706), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-29221](https://nvd.nist.gov/vuln/detail/CVE-2024-29221), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2024-29221](https://osv.dev/vulnerability/BIT-MATTERMOST-2024-29221), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2024-29221 · Whole record: https://cve.day/CVE-2024-29221.json · Rebuilt by cve.day 2026-11-25T22:58:38.797Z
