# CVE-2025-27538: MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users

- Severity: Low 2.2 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-04-16T07:45:01.229Z
- Modified: 2026-09-10T03:50:57.281Z
- Also known as: GHSA-j5jw-m2ph-3jjf, GO-2025-3620
- Related: CGA-jfv6-j93j-q3xv
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 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)
- 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-c049748b8863
- 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+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 9.11.0 before 9.11.10; from 10.5.0 before 10.5.2

## Every score

- Mattermost: 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`
- GitHub: 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`
- NVD: 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`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27538> (advisory)
- <https://github.com/mattermost/mattermost> (package)
- <https://pkg.go.dev/vuln/GO-2025-3620> (web)
- <https://github.com/advisories/GHSA-j5jw-m2ph-3jjf> (advisory)

## Sources

- CVE List: [CVE-2025-27538](https://www.cve.org/CVERecord?id=CVE-2025-27538), CVE Terms of Use, modified 2025-04-16
- GitHub Advisory Database: [GHSA-j5jw-m2ph-3jjf](https://github.com/advisories/GHSA-j5jw-m2ph-3jjf), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3620](https://pkg.go.dev/vuln/GO-2025-3620), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-27538](https://nvd.nist.gov/vuln/detail/CVE-2025-27538), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27538 · Whole record: https://cve.day/CVE-2025-27538.json · Rebuilt by cve.day 2026-11-25T22:58:56.540Z
