NetSight
low3.8

CVE-2025-53971

Mattermost Fails to Properly Validate Team Role Modification

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/mattermost/mattermost-server>= 10.5.0, <= 10.5.810.5.9
gogithub.com/mattermost/mattermost/server/v8< 8.0.0-20250721095846-c602a4a78e1f8.0.0-20250721095846-c602a4a78e1f
gogithub.com/mattermost/mattermost-server/v5<= 5.39.3none recorded
gogithub.com/mattermost/mattermost-server/v6<= 6.7.2none recorded

Affected products

VendorProductAffected versions
MattermostMattermost Server
from 9.11.0 before 9.11.18
from 10.5.0 before 10.5.9

Weakness classification

References