{"id":"CVE-2026-5139","published":"2026-06-22T13:34:21Z","modified":"2026-06-22T15:39:29Z","title":"GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00287,"percentile":0.2176,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":4.35},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.7.0, <= 11.7.0",">= 11.6.0, <= 11.6.2",">= 11.5.0, <= 11.5.5",">= 10.11.0, <= 10.11.17"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.8.0","11.7.1","11.6.3","11.5.6","10.11.18"]}],"solutions":{"items":["Update Mattermost to versions 11.8.0, 11.7.1, 11.6.3, 11.5.6, 10.11.18 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T15:39:17.436366Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=11.7.0, <11.7.1",">=11.6.0, <11.6.3",">=11.5.0, <11.5.6",">=10.11.0, <10.11.18",">=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"],"patched":["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"],"from":["GHSA-2g8v-grq3-hq2g","GO-2026-6480"],"provenance":"source"}],"summary":{"text":"The GitLab plugin in Mattermost (versions 11.7.x up to 11.7.0, 11.6.x up to 11.6.2, 11.5.x up to 11.5.5, and 10.11.x up to 10.11.17) fails to enforce administrator authorization on the setDefaultInstance call within the /gitlab connect command handler, so the flaw lies in the handling of that command. An authenticated user with no administrator privileges, reaching the server over the network and without any user interaction, can use the /gitlab connect slash command to overwrite the global default GitLab instance configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:56Z"},"euvd":{"id":"EUVD-2026-38246","exploited":false,"provenance":"source"}}