CVE-2025-27538
MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
2.2
MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
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.
- Record
CVE-2025-27538- CVSS 3.1
- 2.2 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
EUVDEUVD-2025-11361
2.2
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.
- Record
EUVD-2025-11361- CVSS 3.1
- 2.2 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-j5jw-m2ph-3jjf
2.2
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 edit_other_users permission to activate or deactivate MFA for other users, even if those users have not set up MFA.
- Record
GHSA-j5jw-m2ph-3jjf- CVSS 3.1
- 2.2 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
NVD
2.2
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.
- Record
CVE-2025-27538- CVSS 3.1
- 2.2 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N - CVSS 3.1
- 2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
OSV
2.2
MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users
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.
- Record
CVE-2025-27538- CVSS 3.1
- 2.2 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
OSVGHSA-j5jw-m2ph-3jjf
2.2
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 edit_other_users permission to activate or deactivate MFA for other users, even if those users have not set up MFA.
- Record
GHSA-j5jw-m2ph-3jjf- CVSS 3.1
- 2.2 Low
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-306
- Updated
- 2026-11-02
OSVGO-2025-3620 No score
Mattermost Missing Authentication for Critical Function in github.com/mattermost/mattermost-server
Mattermost Missing Authentication for Critical Function in github.com/mattermost/mattermost-server
- Record
GO-2025-3620- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15017-1 No score
govulncheck-vulndb-0.0.20250422T181640-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250422T181640-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15017-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/mattermost/mattermost/server/v8Go |
10.5.0 up to 10.5.2 | 10.5.2 |
github.com/mattermost/mattermost/server/v8Go |
9.11.0 up to 9.11.10 | 9.11.10 |
github.com/mattermost/mattermost/server/v8Go |
before 8.0.0-20250314142426-c049748b8863 | 8.0.0-20250314142426-c049748b8863 |
github.com/mattermost/mattermost-serverGo |
9.11.0+incompatible up to 9.11.10+incompatible, 10.5.0+incompatible up to 10.5.2+incompatible | 9.11.10+incompatible10.5.2+incompatible |
github.com/mattermost/mattermost-server/v5Go |
All versions | None known |
github.com/mattermost/mattermost-server/v6Go |
All versions | None known |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 23 CVEs |
before 0.0.20250422T181640-1.1 | 0.0.20250422T181640-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-27538 is a low vulnerability (CVSS 2.2) in Mattermost, published April 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 16th percentile. Fixed in github.com/mattermost/mattermost/server/v8 10.5.2.
References
mattermost.com/security-updates
nvd.nist.gov/vuln/detail/CVE-2025-27538
pkg.go.dev/vuln/GO-2025-3620
github.com/advisories/GHSA-j5jw-m2ph-3jjf
github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27538.json
github.com/mattermost/mattermost
Show 24 moreShow less
lists.opensuse.org/archives/list/[email protected]/thread/XCF7AZBKQYAQXK32J6F54H6NREFBK2V7
suse.com/security/cve/CVE-2019-15119
suse.com/security/cve/CVE-2025-1386
suse.com/security/cve/CVE-2025-2424
suse.com/security/cve/CVE-2025-24358
suse.com/security/cve/CVE-2025-2475
suse.com/security/cve/CVE-2025-24839
suse.com/security/cve/CVE-2025-24866
suse.com/security/cve/CVE-2025-2564
suse.com/security/cve/CVE-2025-27538
suse.com/security/cve/CVE-2025-27571
suse.com/security/cve/CVE-2025-27936
suse.com/security/cve/CVE-2025-30206
suse.com/security/cve/CVE-2025-31363
suse.com/security/cve/CVE-2025-32093
suse.com/security/cve/CVE-2025-32431
suse.com/security/cve/CVE-2025-32445
suse.com/security/cve/CVE-2025-32793
suse.com/security/cve/CVE-2025-32963
suse.com/security/cve/CVE-2025-3801
suse.com/security/cve/CVE-2025-43970
suse.com/security/cve/CVE-2025-43971
suse.com/security/cve/CVE-2025-43972
suse.com/security/cve/CVE-2025-43973