Plugin bot username conflict allows user account to be used as bot identity in Mattermost Server
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
|
11.5.510.11.1710.11.17+incompatible11.5.5+incompatible11.6.1+incompatible| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 fail to validate that a username returned during bot registration belongs to a bot account, which allows an unprivileged attacker to intercept private messages sent by plugins via direct message channels by pre-registering a user account with a predictable plugin bot username.. Mattermost Advisory ID: MMSA-2026-00649
From the CVE record · Mattermost
Mattermost does not verify that a username returned during plugin bot registration belongs to a bot account. An unprivileged attacker who pre-registers a user account with a predictable plugin bot username can intercept private messages that plugins send through direct message channels. No user interaction is described.
Teams running Mattermost or using the affected Go packages should check the listed affected version ranges; all versions of github.com/mattermost/mattermost-server/v5 and /v6 are listed as affected.