CVE-2026-5139
JSON

5.4medium

GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration

Severity
5.4medium CVSS:3.1 by Mattermost
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-2g8v-grq3-hq2gGO-2026-6480

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

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom 11.7.0 up to 11.7.0, from 11.6.0 up to 11.6.2, from 11.5.0 up to 11.5.5, from 10.11.0 up to 10.11.17
Not affected: 11.8.0, 11.7.1, 11.6.3, 11.5.6, 10.11.18
CVE List
github.com/mattermost/mattermost-server (Go)from 11.7.0 before 11.7.1, from 11.6.0 before 11.6.3, from 11.5.0 before 11.5.6, from 10.11.0 before 10.11.18, from 10.11.0+incompatible before 10.11.18+incompatible, from 11.5.0+incompatible before 11.5.6+incompatible, from 11.6.0+incompatible before 11.6.3+incompatible, from 11.7.0+incompatible before 11.7.1+incompatibleGitHub Advisory Database, Go Vulnerability Database
mattermost mattermost_serverfrom 10.11.0 before 10.11.18, from 11.5.0 before 11.5.6, from 11.6.0 before 11.6.3, from 11.7.0 before 11.7.1NVD

All scores

Mattermost5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

Go Vulnerability Database

Mattermost doesn't enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler in github.com/mattermost/mattermost-server

References

Sources

SourceRecordLicence
CVE ListCVE-2026-5139 changed 2026-06-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-2g8v-grq3-hq2g changed 2026-09-28CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6480 changed 2026-09-28CC-BY-4.0
NVDCVE-2026-5139 changed 2026-06-23Public domain