Mattermost versions 11.8.x up to 11.8.2, 11.7.x up to 11.7.6, and 10.11.x up to 10.11.21 contain a vulnerability where channel member role assignment is not properly restricted to channel-scoped roles. This flaw allows a channel administrator to escalate their permissions by using the channel member roles API to gain additional channel permissions beyond intended limits.