CVE-2025-27538
JSON

2.2low

MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users

Severity
2.2low CVSS:3.1 by Mattermost
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-j5jw-m2ph-3jjfGO-2025-3620

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

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.5.0 up to 10.5.1, from 9.11.0 up to 9.11.9
Not affected: 10.6.0, 10.5.2, 9.11.10
CVE List
github.com/mattermost/mattermost/server/v8 (Go)from 10.5.0 before 10.5.2, from 9.11.0 before 9.11.10, before 8.0.0-20250314142426-c049748b8863GitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)from 9.11.0+incompatible before 9.11.10+incompatible, from 10.5.0+incompatible before 10.5.2+incompatibleGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 9.11.0 before 9.11.10, from 10.5.0 before 10.5.2NVD

All scores

Mattermost2.2low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
GitHub2.2low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N
NVD2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-306

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Mattermost Missing Authentication for Critical Function in github.com/mattermost/mattermost-server

NVD (es)

Las versiones de Mattermost 10.5.x &lt;= 10.5.1, 9.11.x &lt;= 9.11.9 no implementan las comprobaciones de MFA en PUT /api/v4/users/user-id/mfa cuando el usuario solicitante difiere del ID del usuario de destino, lo que permite a los usuarios con permiso edit_other_users activar o desactivar MFA para otros usuarios, incluso si esos usuarios no han configurado MFA.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-27538 changed 2025-04-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-j5jw-m2ph-3jjf changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3620 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-27538 changed 2026-06-17Public domain