Skip to main content

Mattermost CVE-2026-28735

| EUVDEUVD-2026-31465 MEDIUM
Incorrect Authorization (CWE-863)
2026-05-22 Mattermost GHSA-r5vf-grcx-5vqp
5.4
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Analysis Generated
May 22, 2026 - 16:45 vuln.today

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

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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-2024-39777 CRITICAL
9.6 Aug 01

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invit

CVE-2020-26290 CRITICAL
9.6 Dec 28

Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2022-1002 MEDIUM POC
5.4 Mar 18

Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh

CVE-2023-2193 CRITICAL
9.1 Apr 20

Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse

CVE-2026-7387 HIGH
8.8 Jun 12

Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr

CVE-2026-3524 HIGH
8.8 Apr 06

Authorization bypass in Mattermost Plugin Legal Hold versions <=1.1.4 allows authenticated attackers to manipulate legal

Share

CVE-2026-28735 vulnerability details – vuln.today

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