CVE-2026-5139 · MEDIUM (CVSS 5.4)
Summary: GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration
Details
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
Severity
MEDIUM (CVSS 5.4) — vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Affected packages
- Go github.com/mattermost/mattermost-server [11.7.0 – 11.7.1]
- Go github.com/mattermost/mattermost-server [11.6.0 – 11.6.3]
- Go github.com/mattermost/mattermost-server [11.5.0 – 11.5.6]
- Go github.com/mattermost/mattermost-server [10.11.0 – 10.11.18]
- GIT github.com/mattermost/mattermost [5b955468ea1ea8b56c0fb10feb258a36a767d7bb – 79ba3d3d83ef1562d08ffd2d29d3d9cc2636a41c] [9f2616376582893035a7e3cb38b0fab648bba4e8 – 16c42cd8677fcc91383da3b0cc85b8c9c0c231c3] [d4f4e78835e86e2e76f76bfe797623076f5c9835 – 429426801b599699c8bef584447e5f4c6f09f035] [a9e574a82633915f22071f0d7ca2b006f249ec2a – de117ab1cc09f4114aa7cb716fe760946ae7696c]