Advisory

GHSA-m7cf-4gh2-v4qg

Also known as: CVE-2026-28741, GO-2026-5495

Summary

Mattermost doesn't validate CSRF tokens on an authentication endpoint

Details

Mattermost versions 10.11.x <= 10.11.12, 11.5.x <= 11.5.0, 11.4.x <= 11.4.2, 11.3.x <= 11.3.2 fail to validate CSRF tokens on an authentication endpoint which allows an attacker to update a user's authentication method via a CSRF attack by tricking a user into visiting a malicious page. Mattermost Advisory ID: MMSA-2026-00625.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-17 15:31 UTC
Modified
2026-06-25 23:11 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.0.0-20250721062209-4952acea88ce, fixed 8.0.0-20260220133927-c29cf05d40f8 (semver)

Fixed versions

8.0.0-20260220133927-c29cf05d40f8

Fix

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

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.5.0-rc1, fixed 11.5.0 (semver)

Fixed versions

11.5.0

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.4.0-rc1, fixed 11.4.3 (semver)

Fixed versions

11.4.3

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.3.0-rc1, fixed 11.3.3 (semver)

Fixed versions

11.3.3

Fix

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