cve.bz

CVE-2026-5139 mattermost mattermost server: Missing Authorization

5.4 mediumEPSS 0.3%Fix available

Medium (5.4) in mattermost mattermost server. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/mattermost/mattermost-server 10.11.18, 10.11.18+incompatible, 11.5.6.

On this page
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

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

  • github.com/mattermost/mattermost-server (Go): fixed in 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
  • Vendor advisory: https://mattermost.com/security-updates

Ask an AI about this CVE

Show the promptExplain CVE-2026-5139 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5139?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5139?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5139 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mattermostfrom 11.7.0 through 11.7.0
Mattermostfrom 11.6.0 through 11.6.2
Mattermostfrom 11.5.0 through 11.5.5
Mattermostfrom 10.11.0 through 10.11.17

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2g8v-grq3-hq2gGogithub.com/mattermost/mattermost-server>=11.7.0 <11.7.111.7.1
GHSA-2g8v-grq3-hq2gGogithub.com/mattermost/mattermost-server>=11.6.0 <11.6.311.6.3
GHSA-2g8v-grq3-hq2gGogithub.com/mattermost/mattermost-server>=11.5.0 <11.5.611.5.6
GHSA-2g8v-grq3-hq2gGogithub.com/mattermost/mattermost-server>=10.11.0 <10.11.1810.11.18
GO-2026-6480Gogithub.com/mattermost/mattermost-server>=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
10.11.18+incompatible, 11.5.6+incompatible, 11.6.3+incompatible, 11.7.1+incompatible

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON