Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2025-27538

CVE-2025-27538: Mattermost Missing Authentication for Critical Function

April 16, 2025 (updated April 23, 2025)

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.

References

  • github.com/advisories/GHSA-j5jw-m2ph-3jjf
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-27538
  • pkg.go.dev/vuln/GO-2025-3620

Code Behaviors & Features

Detect and mitigate CVE-2025-27538 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0-20250314142426-c049748b8863, all versions starting from 9.11.0 before 9.11.10, all versions starting from 10.5.0 before 10.5.2

Fixed versions

  • 10.5.2
  • 9.11.10
  • 8.0.0-20250314142426-c049748b8863

Solution

Upgrade to versions 10.5.2, 8.0.0-20250314142426-c049748b8863, 9.11.10 or above.

Impact 2.2 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2025-27538.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.