CVE-2026-5139
Description
Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 fail to enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler, which allows any authenticated user to overwrite the global default GitLab instance configuration via the {{/gitlab connect <instance-name>}} slash command.. Mattermost Advisory ID: MMSA-2026-00644
How to fix
- mattermost mattermost_server10.11.18, 11.5.6, 11.6.3, 11.7.1 or later
- github.com/mattermost/mattermost-server11.7.1, 11.6.3, 11.5.6, 10.11.18, 10.11.18+incompatible, 11.5.6+incompatible, 11.6.3+incompatible, 11.7.1+incompatible or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mattermost mattermost_server | 10.11.0 ≤ v < 10.11.18, 11.5.0 ≤ v < 11.5.6, 11.6.0 ≤ v < 11.6.3, 11.7.0 ≤ v < 11.7.1 | 10.11.18, 11.5.6, 11.6.3, 11.7.1 |
| github.com/mattermost/mattermost-serverGo | 11.7.0 ≤ v < 11.7.1, 11.6.0 ≤ v < 11.6.3, 11.5.0 ≤ v < 11.5.6, 10.11.0 ≤ v < 10.11.18, 10.11.0+incompatible ≤ v < 10.11.18+incompatible, 11.5.0+incompatible ≤ v < 11.5.6+incompatible, 11.6.0+incompatible ≤ v < 11.6.3+incompatible, 11.7.0+incompatible ≤ v < 11.7.1+incompatible | 11.7.1, 11.6.3, 11.5.6, 10.11.18, 10.11.18+incompatible, 11.5.6+incompatible, 11.6.3+incompatible, 11.7.1+incompatible |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.