GO-2026-5495
Mattermost doesn't validate CSRF tokens on an authentication endpoint in github.com/mattermost/mattermost-server
Quick fix
GO-2026-5495 — github.com/mattermost/mattermost-server: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost-server@v11.3.3+incompatibleDetails
Mattermost doesn't validate CSRF tokens on an authentication endpoint in github.com/mattermost/mattermost-server
Are you affected?
Enter the version of the package you're using.
Affected packages
11.3.0-rc1+incompatibleFixed in: 11.3.3+incompatiblego get github.com/mattermost/mattermost-server@v11.3.3+incompatible0No fixed version published yet for github.com/mattermost/mattermost-server/v5 (go modules). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for github.com/mattermost/mattermost-server/v6 (go modules). Pin to a known-safe version or switch to an alternative.
8.0.0-20250721062209-4952acea88ceFixed in: 8.0.0-20260220133927-c29cf05d40f8go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260220133927-c29cf05d40f8References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/mattermost/mattermost-server"]}'