CVE-2025-2475: Mattermost vulnerable to Incorrect Implementation of Authentication Algorithm
Mattermost versions 10.5.x <= 10.5.1, 10.4.x <= 10.4.3, 9.11.x <= 9.11.9 fail to invalidate the cache when a user account is converted to a bot which allows an attacker to login to the bot exactly one time via normal credentials.
Published Apr 14, 2025 · Updated Apr 23, 2025
Affected packages
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 10.5.0, < 10.5.2
- Fixed in
- 10.5.2
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.11.0, < 9.11.10
- Fixed in
- 9.11.10
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- < 8.0.0-20250220161544-fd356b62b4dd
- Fixed in
- 8.0.0-20250220161544-fd356b62b4dd
- Check
go list -m github.com/mattermost/mattermost/server/v8
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Mattermost versions 10.5.x <= 10.5.1, 10.4.x <= 10.4.3, 9.11.x <= 9.11.9 fail to invalidate the cache when a user account is converted to a bot which allows an attacker to login to the bot exactly one time via normal credentials.
Credited to kbsteere.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-2475
- https://mattermost.com/security-updates
- https://github.com/mattermost/mattermost/commit/fd356b62b4dd3318d2c8019d2310abdd6ce24c8c
- https://github.com/mattermost/mattermost/commit/124547a9ef424431e1e6cf09bdba6c1099d415de
- https://github.com/mattermost/mattermost/commit/40fd60714bd055e00c16301ba6dc0fddfc44e15e
- https://github.com/mattermost/mattermost/commit/88523ceed8a7547c4a4203a30e7c3a8097346280
- https://github.com/mattermost/mattermost/commit/bcd7a4c2bd856dbb40fcda227b363fa5f6f548a7
- https://pkg.go.dev/vuln/GO-2025-3610
- https://github.com/advisories/GHSA-6rqh-8465-2xcw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-8823
Mattermost has an Incorrect Authorization issue
low3.8Jun 22, 2026CVE-2026-3433
Mattermost doesn't restrict role_updated websocket event broadcasts to members of the affected team or channel
medium4.3Jun 12, 2026CVE-2026-6046
Mattermost doesn't validate that a username returned during bot registration belongs to a bot account
medium5.3Jun 12, 2026CVE-2026-6689
Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation
medium4.3Jun 12, 2026CVE-2026-6739
Mattermost doesn't require system-level permission when patching protected default system roles
medium6.7Jun 12, 2026CVE-2026-6961
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
high7.6Jun 12, 2026
