Advisory

GO-2026-5495

Also known as: CVE-2026-28741, GHSA-m7cf-4gh2-v4qg

Summary

Mattermost doesn't validate CSRF tokens on an authentication endpoint in github.com/mattermost/mattermost-server

Details

Mattermost doesn't validate CSRF tokens on an authentication endpoint in github.com/mattermost/mattermost-server

Severity

Not rated by the source.

Dates

Published
2026-06-25 22:34 UTC
Modified
2026-06-25 23:01 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.3.0-rc1+incompatible, fixed 11.3.3+incompatible, introduced 11.4.0-rc1+incompatible, fixed 11.4.3+incompatible, introduced 11.5.0-rc1+incompatible, fixed 11.5.0+incompatible (semver)

Fixed versions

11.3.3+incompatible, 11.4.3+incompatible, 11.5.0+incompatible

Fix

  • Fixed version 11.3.3+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • Fixed version 11.4.3+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • Fixed version 11.5.0+incompatible
    go get github.com/mattermost/[email protected]+incompatible

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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]

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: Go Vulnerability Database · CC BY 4.0

Sources & licences