{"id":"CVE-2025-27538","aliases":["CVE-2025-27538","GHSA-j5jw-m2ph-3jjf","GO-2025-3620"],"related":["CGA-jfv6-j93j-q3xv"],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Mattermost Missing Authentication for Critical Function in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-04-16T07:45:01.229Z","modified":"2026-09-10T03:50:57.281Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.2,"rating":"LOW"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.2,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.2,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.7,"rating":"LOW"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.1","status":"affected"},{"type":"semver","introduced":"9.11.0","lastAffected":"9.11.9","status":"affected"},{"version":"10.6.0","status":"unaffected"},{"version":"10.5.2","status":"unaffected"},{"version":"9.11.10","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.5.0","status":"affected","fixed":"10.5.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0","status":"affected","fixed":"9.11.10"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250314142426-c049748b8863"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0+incompatible","status":"affected","fixed":"9.11.10+incompatible"},{"type":"semver","introduced":"10.5.0+incompatible","status":"affected","fixed":"10.5.2+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250314142426-c049748b8863"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.11.0","fixed":"9.11.10"},{"status":"affected","introduced":"10.5.0","fixed":"10.5.2"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27538","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3620","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-j5jw-m2ph-3jjf","tags":["advisory"],"sources":["go"]}],"credits":["0x7oda7123"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-16T14:19:54.492Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-27538","url":"https://www.cve.org/CVERecord?id=CVE-2025-27538","licence":"CVE Terms of Use","modified":"2025-04-16T14:34:29.842Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j5jw-m2ph-3jjf","url":"https://github.com/advisories/GHSA-j5jw-m2ph-3jjf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:57.281Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3620","url":"https://pkg.go.dev/vuln/GO-2025-3620","licence":"CC-BY-4.0","modified":"2026-02-04T02:38:30.504Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-27538","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27538","licence":"Public domain","modified":"2026-06-17T09:03:46.753Z"}],"updatedAt":"2026-11-25T22:58:56.540Z","epss":{"score":0.00249,"percentile":0.17383,"date":"2026-12-01T12:00:22.000Z"}}