Advisory record · GHSA-2g8v-grq3-hq2g

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

CVSS 5.4 MediumEPSS 0.0029 · 21st percentile

Published by the GitHub Advisory Database at 22 Jun 2026, 15:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/mattermost/mattermost-serverGo>=11.7.0, <11.7.1 || >=11.6.0, <11.6.3 || >=11.5.0, <11.5.6 || >=10.11.0, <10.11.1811.7.1, 11.6.3, 11.5.6, 10.11.18
Identifiers
GHSA-2g8v-grq3-hq2g · CVE-2026-5139 · GO-2026-6480
Weakness (CWE)
CWE-862
Published
22 Jun 2026
Updated
28 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Mattermost server versions 10.11.0 to before 10.11.18, 11.5.0 to before 11.5.6, 11.6.0 to before 11.6.3, and 11.7.0 to before 11.7.1 are affected. Any authenticated user can overwrite the global default GitLab instance configuration by using the /gitlab connect slash command, because the handler does not enforce administrator authorization. Upgrade to 10.11.18, 11.5.6, 11.6.3, 11.7.1, or later in the affected line.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CNA (Mattermost)
  • CISA KEV Not listed.
  • EPSS 0.0029, the 21st percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:12 UTC First seen by agentprime
  2. 31 Oct 2026, 14:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.