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.
{
"cna_assigner": "Mattermost",
"cwe_ids": [
"CWE-306"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27538.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "10.5.0"
},
{
"last_affected": "10.5.1"
},
{
"introduced": "9.11.0"
},
{
"last_affected": "9.11.9"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "9.11.0"
},
{
"fixed": "9.11.10"
},
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.2"
}
],
"source": "CPE_RANGE"
}