Invite ID available to team admins even without the "Add Members" permission
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mattermost | Mattermost | 9.5.0 – 9.5.1; 9.4.0 – 9.4.3; 9.3.0 – 9.3.2; 8.1.0 – 8.1.10 | 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 | Patch available | CNA |
| — | github.com/mattermost/mattermost/server/v8 (Go) | 8.1.0 to before 8.1.11 | 8.1.11 | Patch available | GHSA-w67v-ph4x-f48q |
| — | github.com/mattermost/mattermost/server/v8 (Go) | 9.5.0 to before 9.5.2 | 9.5.2 | Patch available | GHSA-w67v-ph4x-f48q |
| — | github.com/mattermost/mattermost/server/v8 (Go) | 9.4.0 to before 9.4.4 | 9.4.4 | Patch available | GHSA-w67v-ph4x-f48q |
| — | github.com/mattermost/mattermost/server/v8 (Go) | 9.3.0 to before 9.3.3 | 9.3.3 | Patch available | GHSA-w67v-ph4x-f48q |
- Mattermost VendorMattermost Affected 9.5.0 – 9.5.1; 9.4.0 – 9.4.3; 9.3.0 – 9.3.2; 8.1.0 – 8.1.10 Fixed in 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 Patch available CNA
- github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected 8.1.0 to before 8.1.11 Fixed in 8.1.11 Patch available GHSA-w67v-ph4x-f48q
- github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected 9.5.0 to before 9.5.2 Fixed in 9.5.2 Patch available GHSA-w67v-ph4x-f48q
- github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected 9.4.0 to before 9.4.4 Fixed in 9.4.4 Patch available GHSA-w67v-ph4x-f48q
- github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected 9.3.0 to before 9.3.3 Fixed in 9.3.3 Patch available GHSA-w67v-ph4x-f48q
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* | 8.1.0 to before 8.1.11; 9.3.0 to before 9.3.3; 9.4.0 to before 9.4.4; 9.5.0 to before 9.5.2 | Vulnerable | Mattermost |
- cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* Versions 8.1.0 to before 8.1.11; 9.3.0 to before 9.3.3; 9.4.0 to before 9.4.4; 9.5.0 to before 9.5.2 Vulnerable ·Mattermost
Remediation
- Fix · CNA Mattermost (Mattermost) Fixed in 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11
- Fix · GHSA-w67v-ph4x-f48q github.com/mattermost/mattermost/server/v8 (Go) Fixed in 8.1.11 Advisory →
- Fix · GHSA-w67v-ph4x-f48q github.com/mattermost/mattermost/server/v8 (Go) Fixed in 9.5.2 Advisory →
- Fix · GHSA-w67v-ph4x-f48q github.com/mattermost/mattermost/server/v8 (Go) Fixed in 9.4.4 Advisory →
- Fix · GHSA-w67v-ph4x-f48q github.com/mattermost/mattermost/server/v8 (Go) Fixed in 9.3.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29221
- 2026-10-03 Alias added: GHSA-w67v-ph4x-f48q
References
Other 6
- https://github.com/mattermost/mattermost/commit/0dc03fbc6e3c9afb14137e72ab3fa6f5a0125b9c
- https://github.com/mattermost/mattermost/commit/5cce9fed7363386afebd81a58fb5fab7d2729c8f
- https://github.com/mattermost/mattermost/commit/a5784f34ba6592c6454b8742f24af9d06279e347
- https://github.com/mattermost/mattermost/commit/dd3fe2991a70a41790d6bef5d31afc5957525f3c
- https://github.com/mattermost/mattermost
- https://pkg.go.dev/vuln/GO-2024-2706
More Mattermost Server vulnerabilities
- TI-2025-18933 Arbitrary file read in Mattermost Boards via import & export board archive CVSS 3.1CRITICAL 9.9
- TI-2025-04465 Path Traversal Leading to RCE by Any Authenticated Mattermost User CVSS 3.1CRITICAL 9.9
- TI-2017-14068 An issue was discovered in Mattermost Server before 3.6.2. CVSS 3.1CRITICAL 9.8
- TI-2017-14060 An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. CVSS 3.1CRITICAL 9.8
- TI-2017-14048 An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. CVSS 3.1CRITICAL 9.8
- TI-2025-14360 Arbitrary file read via block duplication in Mattermost Boards CVSS 3.1CRITICAL 9.9
Sources
- CVE-2024-29221 · CVE Program
- CVE-2024-29221 · NVD
- FIRST EPSS
- GHSA-w67v-ph4x-f48q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences