Advisory

GHSA-j5jw-m2ph-3jjf

Also known as: CVE-2025-27538, GO-2025-3620

Summary

Mattermost Missing Authentication for Critical Function

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-04-16 09:32 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.2 (semver)

Fixed versions

10.5.2

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.10 (semver)

Fixed versions

9.11.10

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250314142426-c049748b8863 (semver)

Fixed versions

8.0.0-20250314142426-c049748b8863

Fix

  • Fixed version 8.0.0-20250314142426-c049748b8863
    go get github.com/mattermost/mattermost/server/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences