Skip to content
Fencer Vulns
medium 4.7

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

References

Sources

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.