Vulnerability · Published Apr 16, 2025 · Assigned by Mattermost
CVE-2025-27538MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
Low 2.2
In plain English
A low-severity missing authentication in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.5.2+incompatible, 9.11.10+incompatible | GO-2025-3620 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3620 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3620 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.11.10 | GHSA-j5jw-m2ph-3jjf |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250314142426-c049748b8863 | GHSA-j5jw-m2ph-3jjf |
| Go | github.com/mattermost/mattermost/server/v8 | 10.5.2 | GHSA-j5jw-m2ph-3jjf |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250314142426-c049748b8863 | GO-2025-3620 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 10.5.0 – through 10.5.19.11.0 – through 9.11.9 |
Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N