NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-5139: Mattermost doesn't enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler

mediumCVSS 3.1 5.4GHSA-2g8v-grq3-hq2g

Mattermost versions 11.7.x }} slash command.. Mattermost Advisory ID: MMSA-2026-00644

Published Jun 22, 2026 · Updated Sep 15, 2026

Affected packages

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 11.7.0, < 11.7.1
Fixed in
11.7.1
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 11.6.0, < 11.6.3
Fixed in
11.6.3
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 11.5.0, < 11.5.6
Fixed in
11.5.6
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.11.0, < 10.11.18
Fixed in
10.11.18
Check
go list -m github.com/mattermost/mattermost-server

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

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 entries