All reports
Medium

Mattermost doesn't enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler

Affected versions

Version ranges need review.

Affected versions
>= 11.6.0, < 11.6.3
Fixed version
11.6.3
Affected versions
>= 10.11.0, < 10.11.18
Fixed version
10.11.18
Affected versions
>= 11.5.0, < 11.5.6
Fixed version
11.5.6
Affected versions
>=10.11.0+incompatible <10.11.18+incompatible || >=11.5.0+incompatible <11.5.6+incompatible || >=11.6.0+incompatible <11.6.3+incompatible || >=11.7.0+incompatible <11.7.1+incompatible
Fixed version
10.11.18+incompatible · 11.5.6+incompatible · 11.6.3+incompatible · 11.7.1+incompatible
Affected versions
>= 11.7.0, < 11.7.1
Fixed version
11.7.1

Exploitation

CVE-2026-5139

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-24

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 }} slash command.. Mattermost Advisory ID: MMSA-2026-00644

Links