A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28735

CVE-2026-28735: Mattermost Server Auth Bypass Vulnerability

CVE-2026-28735 is an authentication bypass flaw in Mattermost Server that allows authenticated users to access private GitHub repositories by modifying OAuth scope parameters. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 28, 2026

CVE-2026-28735 Overview

CVE-2026-28735 affects multiple versions of Mattermost Server where the GitHub OAuth integration fails to validate token scopes on the callback. An authenticated Mattermost user can modify the scope parameter in the GitHub authorization URL to gain access to private repositories. The flaw is tracked under Mattermost Advisory ID MMSA-2026-00628 and classified as an authorization weakness [CWE-863]. Affected branches include Mattermost 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, and 10.11.x <= 10.11.14.

Critical Impact

Authenticated users can escalate OAuth privileges by tampering with the GitHub authorization scope parameter, exposing private repository contents.

Affected Products

  • Mattermost Server 11.6.x versions <= 11.6.0
  • Mattermost Server 11.5.x versions <= 11.5.3
  • Mattermost Server 11.4.x versions <= 11.4.4 and 10.11.x versions <= 10.11.14

Discovery Timeline

  • 2026-05-22 - CVE-2026-28735 published to NVD
  • 2026-05-22 - Last updated in NVD database

Technical Details for CVE-2026-28735

Vulnerability Analysis

The vulnerability resides in the GitHub OAuth integration flow within Mattermost Server. The application initiates an OAuth authorization request to GitHub but does not validate the scope returned in the access token on the callback endpoint. This omission allows an authenticated Mattermost user to manipulate the scope parameter within the outbound authorization URL. When GitHub issues a token reflecting the attacker-controlled scope, Mattermost accepts and uses it without comparing it to the expected scope set defined by the integration. The result is OAuth token confusion that grants broader access than the integration intends, including read access to private repositories belonging to the authenticating user.

Root Cause

The root cause is improper authorization [CWE-863] in the OAuth callback handler. Mattermost trusts the scope granted by the identity provider rather than enforcing the scopes the application originally requested. Without server-side validation comparing the issued token scope against the application's permitted scope list, scope expansion attacks succeed silently.

Attack Vector

The attack requires network access and a valid authenticated session on the Mattermost instance. The attacker initiates the GitHub OAuth linking flow, intercepts the redirect to GitHub, and modifies the scope query parameter to request additional permissions such as repo. After approving the consent screen, the resulting token carries the expanded scope. Mattermost stores and uses this token for subsequent GitHub API calls, allowing the attacker to enumerate and read private repository data through the integration.

No verified public proof-of-concept code is available. Refer to the Mattermost Security Updates advisory for additional technical context.

Detection Methods for CVE-2026-28735

Indicators of Compromise

  • Unexpected GitHub OAuth tokens stored in Mattermost with scopes broader than the integration default, such as repo instead of public_repo.
  • GitHub audit log entries showing access to private repositories originating from the Mattermost OAuth application client ID shortly after a user-initiated link action.
  • Mattermost audit log entries showing repeated GitHub OAuth link or unlink operations from the same user account.

Detection Strategies

  • Review the oauth records in the Mattermost database and compare stored token scopes against the integration's expected scope configuration.
  • Correlate Mattermost user-link events with GitHub OAuth grant events to identify scope deltas between requested and granted permissions.
  • Inspect proxy or web application firewall logs for OAuth authorization requests where the scope parameter deviates from the application baseline.

Monitoring Recommendations

  • Enable GitHub organization audit log streaming and alert on oauth_authorization.create events tied to the Mattermost OAuth application with elevated scopes.
  • Monitor Mattermost server logs for the GitHub plugin callback handler and flag entries where token exchange succeeds with non-standard scope values.
  • Track outbound API calls from Mattermost to GitHub endpoints that require private repository scopes, such as GET /repos/{owner}/{repo}/contents.

How to Mitigate CVE-2026-28735

Immediate Actions Required

  • Upgrade Mattermost Server to a fixed release above 11.6.0, 11.5.3, 11.4.4, or 10.11.14 based on the deployed branch.
  • Revoke all existing GitHub OAuth tokens issued through the Mattermost integration and require users to re-link their accounts after patching.
  • Audit GitHub organization access logs for any unauthorized private repository reads sourced from the Mattermost OAuth application.

Patch Information

Mattermost has released fixed versions addressing CVE-2026-28735. Consult the Mattermost Security Updates page and advisory MMSA-2026-00628 for the specific patched version numbers and upgrade instructions for each supported branch.

Workarounds

  • Disable the GitHub plugin within Mattermost until the server is upgraded to a patched version.
  • Restrict the GitHub OAuth application's permissible scopes at the GitHub organization level to deny repo scope grants for the Mattermost client ID.
  • Enforce GitHub organization OAuth application access policies that require administrator approval before tokens can read private repositories.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechMattermost

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Vendor Resources
  • Mattermost Security Updates
  • Related CVEs
  • CVE-2026-3473: Mattermost Server Auth Bypass Vulnerability

  • CVE-2026-22880: Mattermost Mobile SSO Auth Bypass Flaw

  • CVE-2026-4055: Mattermost Auth Bypass Vulnerability

  • CVE-2026-6333: Mattermost Server Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English