ADVISORIES

GitHub Advisory Database

GHSA-j5jw-m2ph-3jjf

Mattermost Missing Authentication for Critical Function

Details

Mattermost versions 10.5.x <= 10.5.1, 9.11.x <= 9.11.9 fail to enforce MFA checks in PUT /api/v4/users/user-id/mfa when the requesting user differs from the target user ID, which allows users with edit_other_users permission to activate or deactivate MFA for other users, even if those users have not set up MFA.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 10.5.0 before 10.5.2 (fixed in 10.5.2)
Gogithub.com/mattermost/mattermost/server/v8
From 9.11.0 before 9.11.10 (fixed in 9.11.10)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250314142426-c049748b8863 (fixed in 8.0.0-20250314142426-c049748b8863)

References