Mattermost versions 10.5.x <= 10.5.8, 9.11.x <= 9.11.17 fail to properly validate authorization for team scheme role modifications which allows Team Admins to demote Team Members to Guests via the PUT /api/v4/teams/team-id/members/user-id/schemeRoles API endpoint.
{ "github_reviewed": true, "severity": "LOW", "cwe_ids": [ "CWE-863" ], "github_reviewed_at": "2025-08-21T16:03:01Z", "nvd_published_at": "2025-08-21T08:15:30Z" }