Mattermost doesn't enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler
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
GHSA-2g8v-grq3-hq2g
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-2g8v-grq3-hq2g
github.com/mattermost/mattermost-server
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 11.7.1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
github.com/mattermost/mattermost-server
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 11.6.3
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
github.com/mattermost/mattermost-server
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 11.5.6
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
github.com/mattermost/mattermost-server
Source reference: /affected/3/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 10.11.18
Source reference:
/affected/3/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "11.7.0"
},
{
"fixed": "11.7.1"
}
]
}
],
"package": {
"name": "github.com/mattermost/mattermost-server",
"purl": "pkg:golang/github.com/mattermost/mattermost-server",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-2g8v-grq3-hq2g/GHSA-2g8v-grq3-hq2g.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "11.6.0"
},
{
"fixed": "11.6.3"
}
]
}
],
"package": {
"name": "github.com/mattermost/mattermost-server",
"purl": "pkg:golang/github.com/mattermost/mattermost-server",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-2g8v-grq3-hq2g/GHSA-2g8v-grq3-hq2g.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "11.5.0"
},
{
"fixed": "11.5.6"
}
]
}
],
"package": {
"name": "github.com/mattermost/mattermost-server",
"purl": "pkg:golang/github.com/mattermost/mattermost-server",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-2g8v-grq3-hq2g/GHSA-2g8v-grq3-hq2g.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "10.11.0"
},
{
"fixed": "10.11.18"
}
]
}
],
"package": {
"name": "github.com/mattermost/mattermost-server",
"purl": "pkg:golang/github.com/mattermost/mattermost-server",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-2g8v-grq3-hq2g/GHSA-2g8v-grq3-hq2g.json"
}
}
]- Related CVEs
- CVE-2026-5139
Source reference:
/aliases
Publisher severity
No explicit severity was provided.
- Event
- #23403 · Revision 1
- Added to Heist Feed
- Publisher date