{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-27538","id":"CVE-2025-27538","title":"MFA Enforcement Bypass Allows Unauthorized Removal of MFA for Other Users","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.","descriptionLong":"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.","published":"2025-04-16T07:45:01.229Z","updated":"2026-10-28T02:30:44.516478036Z","reserved":"2025-04-08T07:50:19.654Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"Mattermost"},"metrics":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"Mattermost"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"mattermost.com"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.5.1","status":"affected","version":"10.5.0","versionType":"semver"},{"lessThanOrEqual":"9.11.9","status":"affected","version":"9.11.0","versionType":"semver"},{"status":"unaffected","version":"10.6.0"},{"status":"unaffected","version":"10.5.2"},{"status":"unaffected","version":"9.11.10"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":[">=10.5.0 <10.5.2",">=9.11.0 <9.11.10","<8.0.0-20250314142426-c049748b8863"],"fixed":["10.5.2","9.11.10","8.0.0-20250314142426-c049748b8863"],"advisory":"GHSA-j5jw-m2ph-3jjf"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=9.11.0+incompatible <9.11.10+incompatible",">=10.5.0+incompatible <10.5.2+incompatible"],"fixed":["9.11.10+incompatible","10.5.2+incompatible"],"advisory":"GO-2025-3620"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3620"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3620"}],"cwes":["CWE-306"],"aliases":["GHSA-j5jw-m2ph-3jjf","GO-2025-3620"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27538.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27538","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3620","tags":["web"]},{"url":"https://github.com/advisories/GHSA-j5jw-m2ph-3jjf","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00249,"epssPercentile":0.16555,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-27538","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27538","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-27538","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j5jw-m2ph-3jjf","ok":true,"note":"GHSA-j5jw-m2ph-3jjf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-27538","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}