CVE-2025-27538 MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
LowCVSS 2.7
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.10+incompatible; >= 10.5.0+incompatible, < 10.5.2+incompatible; All versions | 9.11.10+incompatible, 10.5.2+incompatible | Partially fixed |
| Mattermost | >= 9.11.0, <= 9.11.9; >= 10.5.0, <= 10.5.1 | after 9.11.9, 10.5.1 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250314142426-c049748b8863; >= 9.11.0, < 9.11.10; >= 10.5.0, < 10.5.2 | 8.0.0-20250314142426-c049748b8863, 9.11.10, 10.5.2 | Fixed |
| mattermost server | >= 9.11.0, < 9.11.10; >= 10.5.0, < 10.5.2 | 9.11.10, 10.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 10.5.0, < 10.5.2 | 10.5.2 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.11.0, < 9.11.10 | 9.11.10 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20250314142426-c049748b8863 | 8.0.0-20250314142426-c049748b8863 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.10+incompatible | 9.11.10+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.5.0+incompatible, < 10.5.2+incompatible | 10.5.2+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost | >= 10.5.0, <= 10.5.1 | No fix listed |
| Mattermost | >= 9.11.0, <= 9.11.9 | No fix listed |
| mattermost server | >= 9.11.0, < 9.11.10 | 9.11.10 |
| mattermost server | >= 10.5.0, < 10.5.2 | 10.5.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- mattermost.com vendor-advisory
- pkg.go.dev
- github.com vendor-advisory