Skip to content
OpenAdvisories
Low · 2.2 CVE-2025-27538 EUVD-2025-11361GHSA-j5jw-m2ph-3jjfGO-2025-3620

MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users

Published Apr 16, 2025 · Updated Apr 16, 2025 · Assigned by Mattermost

Description

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 products

VendorProductAffectedFixed
Mattermost Mattermost 10.5.0 – ≤ 10.5.1, 9.11.0 – ≤ 9.11.9 10.6.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250422T181640-1.1 openSUSE-SU-2025:15017-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.11.0+incompatible, < 9.11.10+incompatible · >= 10.5.0+incompatible, < 10.5.2+incompatible 9.11.10+incompatible, 10.5.2+incompatible GO-2025-3620
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3620
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3620
Go github.com/mattermost/mattermost/server/v8 >= 10.5.0, < 10.5.2 10.5.2 GHSA-j5jw-m2ph-3jjf
Go github.com/mattermost/mattermost/server/v8 >= 9.11.0, < 9.11.10 9.11.10 GHSA-j5jw-m2ph-3jjf
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250314142426-c049748b8863 8.0.0-20250314142426-c049748b8863 GHSA-j5jw-m2ph-3jjf

Advisories 2

References