CVE-2025-27538: Mattermost Missing Authentication for Critical Function
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 editotherusers permission to activate or deactivate MFA for other users, even if those users have not set up MFA.
Published Apr 16, 2025 · Updated Apr 23, 2025
Affected packages
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 10.5.0, < 10.5.2
- Fixed in
- 10.5.2
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.11.0, < 9.11.10
- Fixed in
- 9.11.10
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- < 8.0.0-20250314142426-c049748b8863
- Fixed in
- 8.0.0-20250314142426-c049748b8863
- Check
go list -m github.com/mattermost/mattermost/server/v8
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-8823
Mattermost has an Incorrect Authorization issue
low3.8Jun 22, 2026CVE-2026-3433
Mattermost doesn't restrict role_updated websocket event broadcasts to members of the affected team or channel
medium4.3Jun 12, 2026CVE-2026-6046
Mattermost doesn't validate that a username returned during bot registration belongs to a bot account
medium5.3Jun 12, 2026CVE-2026-6689
Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation
medium4.3Jun 12, 2026CVE-2026-6739
Mattermost doesn't require system-level permission when patching protected default system roles
medium6.7Jun 12, 2026CVE-2026-6961
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
high7.6Jun 12, 2026
