Low
MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-27538
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 17:11 UTC · Revision 1
Source evidence
MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
core-osv · Original sourcePublished 16 Apr 2025, 07:45 UTC
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.
osv:CVE-2025-27538
Complete source record
{
"id": "db723c8ccbed4b3655c63f4f93f04fd8eea241b9def36d4ac9de358287e31d60",
"url": "https://osv.dev/vulnerability/CVE-2025-27538",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users",
"summary": "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.",
"evidence": "osv:CVE-2025-27538",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2025-27538",
"aliases": [
"CVE-2025-27538",
"GHSA-j5jw-m2ph-3jjf",
"GO-2025-3620"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost",
"type": "GIT",
"events": [
{
"introduced": "0bc2ddd42375a75ab14e63f038165150d4f07659"
},
{
"fixed": "66f75be4b099a46587a044cdadc3693671271166"
},
{
"introduced": "58bd34fd34cbd7d3da777d627b6cffdf8a532930"
},
{
"fixed": "09ccf277a61f68bdbf2453c987af463ed29d6376"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.11.0"
},
{
"fixed": "9.11.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v9.11.10-rc1",
"v9.11.9",
"v10.5.1",
"v10.5.1-rc2",
"v10.5.1-rc1",
"v9.11.9-rc2",
"v9.11.9-rc1",
"v10.5.0-rc6",
"v10.5.0",
"@mattermost/types@10.5.0",
"@mattermost/client@10.5.0",
"v9.11.8",
"v9.11.7-rc3",
"v9.11.7",
"v9.11.7-rc2",
"v9.11.7-rc1",
"v9.11.6",
"v9.11.6-rc2",
"v9.11.6-rc1",
"v9.11.5",
"v9.11.5-rc1",
"v9.11.4",
"v9.11.4-rc1",
"v9.11.3",
"v9.11.3-rc2",
"v9.11.3-rc1",
"v9.11.2",
"v9.11.2-rc2",
"v9.11.2-rc1",
"v9.11.1-rc1",
"v9.11.1",
"v9.11.0-rc3",
"v9.11.0",
"@mattermost/types@9.11.0",
"@mattermost/client@9.11.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27538.json"
}
}
],
"modified": "2026-10-28T02:30:44.516478036Z",
"provider": "osv",
"references": [
"https://mattermost.com/security-updates",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27538.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-27538"
],
"provider_metadata": {
"cwe_ids": [
"CWE-306"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "10.5.0"
},
{
"last_affected": "10.5.1"
},
{
"introduced": "9.11.0"
},
{
"last_affected": "9.11.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27538.json"
}
},
"related_cves": [
{
"value": "CVE-2025-27538",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 512502,
"published_at": "2025-04-16T07:45:01.229+00:00"
}