GitHub Advisory Database
GHSA-m7cf-4gh2-v4qg
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 8.0.0-20250721062209-4952acea88ce before 8.0.0-20260220133927-c29cf05d40f8 (fixed in 8.0.0-20260220133927-c29cf05d40f8) |
| Go | github.com/mattermost/mattermost/server/v8 | From 11.5.0-rc1 before 11.5.0 (fixed in 11.5.0) |
| Go | github.com/mattermost/mattermost/server/v8 | From 11.4.0-rc1 before 11.4.3 (fixed in 11.4.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 11.3.0-rc1 before 11.3.3 (fixed in 11.3.3) |