Skip to main content

Mattermost EUVDEUVD-2026-31465

| CVE-2026-28735 MEDIUM
Incorrect Authorization (CWE-863)
2026-05-22 Mattermost GHSA-r5vf-grcx-5vqp
5.4
CVSS 3.1 · Vendor: Mattermost
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Mattermost instance
  2. Delivery
    Initiate GitHub OAuth integration flow
  3. Exploit
    Intercept and modify scope parameter to 'repo' in authorization URL
  4. Execution
    Authorize elevated permissions on GitHub
  5. Persist
    Mattermost callback accepts over-privileged token without scope validation
  6. Impact
    Access private GitHub repositories via stored token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid, authenticated Mattermost user account - PR:L in the CVSS vector confirms this. Additionally, the GitHub OAuth integration must be enabled and configured in the Mattermost instance (System Console > Integrations > OAuth 2.0 with a registered GitHub OAuth app). The attacker must be able to initiate the GitHub authorization flow, meaning the feature must be accessible to their user role. The target GitHub account must have private repositories for there to be material impact beyond what the user could access legitimately. Exploitation is limited to the GitHub OAuth context - it does not affect other OAuth providers or Mattermost's own authentication. There is no required user interaction beyond the attacker's own actions (UI:N), and attack complexity is low (AC:L) once the conditions are met.

Impact

The CVSS 5.4 Medium score reflects AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - network-exploitable with low complexity, requiring only authenticated access to Mattermost with no user interaction needed after initiation. The Scope:Unchanged component limits the blast radius to the GitHub integration context rather than enabling broader system compromise. The C:L/I:L rating is arguably conservative given that gaining access to private GitHub repositories can expose source code, secrets, and credentials depending on what those repositories contain - real-world impact could exceed the CVSS partial ratings. No EPSS score was provided in available data, so probabilistic exploitation likelihood cannot be quantified. The absence of KEV listing and no public POC reduces urgency relative to a KEV-listed vulnerability, but the low attack complexity and minimal privilege requirement (any authenticated Mattermost user) means exploitation is straightforward for an insider threat or attacker with any valid account. Organizations using Mattermost with GitHub OAuth integration and having private repositories connected are the primary risk surface.

Exploit ScenarioDerived

An authenticated Mattermost user navigates to the GitHub integration OAuth flow and intercepts or crafts the outbound authorization URL, modifying the scope parameter from a limited value (e.g., read:user) to repo, which grants full access to public and private repositories. After authorizing on GitHub's side, the callback returns to Mattermost with an elevated-scope token; because Mattermost does not validate the returned scope against the originally requested scope, it stores and uses the over-privileged token, granting the attacker read and write access to private GitHub repositories associated with the target account. No public proof-of-concept code is known at time of analysis, but the technique requires only standard OAuth parameter manipulation tools available in any browser or proxy.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 22, 2026

OAuth scope validation bypass in Mattermost's GitHub integration allows authenticated users to escalate repository access beyond what was originally authorized. By manipulating the scope parameter in the GitHub OAuth authorization URL before the callback is processed, a low-privileged Mattermost user can obtain a GitHub token with broader permissions - including access to private repositories - than the application intended to grant. Affecting versions across four active release branches (10.11.x through 11.6.x), this is no public exploit identified at time of analysis and is not listed in CISA KEV, but the low complexity and authentication-only barrier make it a realistic insider or compromised-account risk.

RemediationAI

Upgrade to a patched release per Mattermost's security advisory MMSA-2026-00628, available at https://mattermost.com/security-updates. The exact fixed version numbers are not independently confirmed in the available reference data beyond the vendor advisory page - administrators should consult that page for the specific target versions in their branch (10.11.x, 11.4.x, 11.5.x, or 11.6.x). As a compensating control for organizations that cannot immediately patch, disabling the GitHub OAuth integration in Mattermost's system console (System Console > Integrations > OAuth 2.0) will eliminate the attack surface entirely, though this removes GitHub-linked functionality for all users. Restricting which users can initiate OAuth flows via role-based access controls may limit exposure but does not eliminate the underlying flaw. Auditing existing GitHub OAuth tokens granted through Mattermost for unexpected scope elevation is advisable regardless of patch status.

Affected VersionsENISA

Mattermost 10.11.0 ≤10.11.14
Mattermost 11.4.0 ≤11.4.4
Mattermost 11.5.0 ≤11.5.3
Mattermost 11.6.0 ≤11.6.0

Affected Packages

go github.com/mattermost/mattermost-plugin-github fix: 1.0.1-0.20260318132218-6e6b740c4852
go github.com/mattermost/mattermost-server fix: 10.11.15+incompatible, 10.11.15, 11.4.5+incompatible, 11.4.5, 11.5.4+incompatible, 11.5.4, 11.6.1+incompatible, 11.6.1
euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mattermost integrates with GitHub via OAuth 2.0, allowing users to link their GitHub accounts for repository browsing or plugin functionality. During the OAuth authorization flow, a client initiates a request to GitHub with a defined scope parameter that specifies what permissions are being requested (e.g., read:user, public_repo). After the user authorizes the app on GitHub's side, GitHub redirects back to Mattermost's callback endpoint with an authorization code. CWE-863 (Incorrect Authorization) identifies the root cause: Mattermost's callback handler fails to verify that the scope embedded in the returned token matches the scope originally requested. This means an attacker can modify the scope in the outbound authorization URL to request elevated permissions (e.g., repo, which grants access to private repositories), and Mattermost will silently accept and store the resulting over-privileged token. The affected CPE is cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* across branches 10.11.x, 11.4.x, 11.5.x, and 11.6.x.

Know when Mattermost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Mattermost) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
SUSE MEDIUM

Primary rating from Vendor (Mattermost).

CVSS VectorVendor: Mattermost

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate the OAuth token scope on the callback which allows an authenticated Mattermost user to gain access to private repositories via modifying the scope parameter in the GitHub authorization URL.. Mattermost Advisory ID: MMSA-2026-00628

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-25279 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp

CVE-2025-12421 CRITICAL
9.9 Nov 27

Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t

CVE-2025-12419 CRITICAL
9.9 Nov 27

Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2025-24490 CRITICAL
9.6 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy