Mattermost fails to update the permissions of the current session for a user who was just demoted to guest, allowing freshly demoted guests to change group names.
Update Mattermost Server to versions 8.1.7, 9.3.0 or higher.