{"cve":"CVE-2024-29221","nvd":{"published":"2024-04-05T09:15:09.680","modified":"2026-06-17T07:22:39.530","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8},"cwes":["CWE-284"],"references":["https://mattermost.com/security-updates","https://mattermost.com/security-updates"],"products":["mattermost:mattermost_server"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-29221","score":0.00331,"percentile":0.26337,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w67v-ph4x-f48q","url":"https://osv.dev/vulnerability/GHSA-w67v-ph4x-f48q","summary":"Mattermost Server Improper Access Control ","modified":"2024-12-16T13:41:52.517664Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=8.1.0 <8.1.11"],"fixed":["8.1.11"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.5.0 <9.5.2"],"fixed":["9.5.2"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.4.0 <9.4.4"],"fixed":["9.4.4"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=9.3.0 <9.3.3"],"fixed":["9.3.3"]}]},{"id":"GO-2024-2706","url":"https://osv.dev/vulnerability/GO-2024-2706","summary":"Mattermost Server Improper Access Control in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:51:47.679497Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.3.0+incompatible <9.3.3+incompatible",">=9.4.0+incompatible <9.4.4+incompatible",">=9.5.0+incompatible <9.5.2+incompatible"],"fixed":["9.3.3+incompatible","9.4.4+incompatible","9.5.2+incompatible"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}