{"id":"CVE-2024-29221","details":"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. \n\n","aliases":["BIT-mattermost-2024-29221","GHSA-w67v-ph4x-f48q","GO-2024-2706"],"modified":"2026-03-14T12:33:23.532935Z","published":"2024-04-05T09:15:09.680Z","references":[{"type":"ADVISORY","url":"https://mattermost.com/security-updates"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost-server","events":[{"introduced":"096c9ea12a2144f832e330e9a0f4d3862ca20b9f"},{"fixed":"45093ef4be396d39748078f9205a88ba5756e0b9"},{"introduced":"7bf5dcb8fb7f05db9a7a6a9be608ac0fe1405351"},{"fixed":"51fdf7ee51c379a80fe852f24f69e463386581d3"},{"introduced":"baa88a2450d49dfea42990861283b5ed9d469edf"},{"fixed":"e5c9444615dc54f49c7c716dce2bbaf81d8cb188"},{"introduced":"99d819d25d0b16b3faed901b1fe5c41de7655e9c"},{"fixed":"9a5b3d30495cb878328cf459850e334b592b3ab8"}],"database_specific":{"versions":[{"introduced":"8.1.0"},{"fixed":"8.1.11"},{"introduced":"9.3.0"},{"fixed":"9.3.3"},{"introduced":"9.4.0"},{"fixed":"9.4.4"},{"introduced":"9.5.0"},{"fixed":"9.5.2"}]}}],"versions":["@mattermost/client@8.1.1","@mattermost/client@9.3.0","@mattermost/client@9.4.0","@mattermost/client@9.5.0","@mattermost/types@8.1.1","@mattermost/types@9.3.0","@mattermost/types@9.4.0","@mattermost/types@9.5.0","v8.1.0","v8.1.0-rc2","v8.1.1","v8.1.1-rc1","v8.1.1-rc2","v8.1.10","v8.1.10-rc1","v8.1.2","v8.1.2-rc1","v8.1.2-rc2","v8.1.3","v8.1.3-rc1","v8.1.3-rc2","v8.1.4","v8.1.4-rc1","v8.1.4-rc2","v8.1.5","v8.1.5-rc1","v8.1.5-rc2","v8.1.6","v8.1.6-rc1","v8.1.7","v8.1.7-rc1","v8.1.7-rc2","v8.1.7-rc3","v8.1.8","v8.1.8-rc1","v8.1.8-rc2","v8.1.9","v8.1.9-rc1","v8.1.9-rc2","v9.3.0","v9.3.0-rc2","v9.3.1","v9.3.1-rc1","v9.3.1-rc2","v9.3.2","v9.3.2-rc1","v9.4.0","v9.4.0-rc4","v9.4.1","v9.4.2","v9.4.2-rc1","v9.4.2-rc2","v9.4.3","v9.4.3-rc1","v9.5.0","v9.5.0-rc3","v9.5.1","v9.5.1-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29221.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"}]}