Skip to main content

Mattermost EUVDEUVD-2026-30753

| CVE-2026-5163 MEDIUM
Missing Authorization (CWE-862)
2026-05-18 Mattermost GHSA-8r89-8w26-cq32
6.5
CVSS 3.1 · Vendor: Mattermost
View

Attack ChainAIDerived

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

  1. Access
    Obtain authenticated credentials
  2. Delivery
    Identify target post IDs from private channels
  3. Exploit
    Send crafted POST to AI rewrite endpoint
  4. Execution
    Bypass missing authorization check
  5. Impact
    Exfiltrate confidential thread content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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

Exploitation requires the AI-assisted message rewrite feature to be enabled in Mattermost system configuration, as this functionality is the specific vulnerable endpoint. Attacker must possess valid authenticated credentials to the Mattermost instance (PR:L), but no elevated privileges or administrative access are required. Attacker needs knowledge of post IDs from target private channels or direct messages, which may be obtained through URL leaks in public channels, browser history on shared workstations, or sequential enumeration of post ID ranges. The vulnerability affects only versions 11.5.0 and 11.5.1, so exploitation is limited to organizations running these specific releases. Default Mattermost installations with AI features enabled are vulnerable with no additional configuration required. Limitations: attacker cannot write or modify messages, only read thread content (I:N in CVSS), and exploitation leaves API access logs showing requests to rewrite endpoint for posts outside attacker's normal channel access pattern.

Impact

Real-world risk is moderate-high for organizations using Mattermost 11.5.x with the AI features enabled. The CVSS score of 6.5 accurately reflects the confidentiality impact (C:H) combined with authentication requirements (PR:L) that limit the attack surface to internal users or compromised accounts. Attack complexity is low (AC:L) requiring only knowledge of post IDs from private channels, which may be enumerable through timing attacks, leaked references, or social engineering. No public exploit code exists and CISA KEV listing is absent, indicating this is not yet widely exploited in the wild. However, the narrow affected version range (11.5.0-11.5.1) suggests this is a recently introduced regression in a new AI feature rather than a long-standing architectural flaw. Organizations not using AI message rewrite functionality are not exposed despite running vulnerable versions. The high confidentiality impact makes this critical for environments where private channels contain trade secrets, HR discussions, security incident response, or compliance-sensitive communications. Exploitation requires only authenticated access, making it accessible to malicious insiders, compromised low-privilege accounts, or lateral movement scenarios.

Exploit ScenarioDerived

An authenticated Mattermost user with basic account privileges discovers post IDs from a private executive channel through leaked message links or enumeration. The attacker crafts HTTP POST requests to the AI message rewrite endpoint (/api/v4/posts/{post_id}/rewrite or similar) targeting threads in channels they cannot normally access. The vulnerable endpoint processes the rewrite request without validating channel membership, returning the full thread content including confidential messages. The attacker systematically enumerates post IDs to exfiltrate sensitive communications from HR discussions, security incidents, or strategic planning channels.

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 18, 2026

Authenticated Mattermost users can read private channel threads and direct messages they lack access to by exploiting the AI post rewrite endpoint. Versions 11.5.0 and 11.5.1 fail to verify channel membership before processing AI-assisted message rewrites, enabling privilege escalation from low-privileged authenticated users to access confidential communications. CVSS 6.5 reflects network-accessible attack with low complexity requiring only basic authentication. EPSS data not available; no public exploit or KEV listing identified at time of analysis.

RemediationAI

Upgrade immediately to Mattermost version 11.5.2 or later which addresses the missing authorization check in the AI post rewrite endpoint per vendor advisory MMSA-2026-00645 at https://mattermost.com/security-updates. If immediate patching is not feasible, disable the AI-assisted message rewrite feature through Mattermost system console under AI settings, which eliminates the vulnerable attack surface but removes functionality users may rely on for productivity. Alternatively, implement network-level access controls restricting API endpoint access to trusted IP ranges, though this does not mitigate insider threats from authenticated users within the network perimeter. Review access logs for unusual POST requests to rewrite endpoints referencing post IDs from channels the requesting user does not belong to, filtering for HTTP 200 responses that should have returned 403 Forbidden errors. Audit private channel memberships and direct message participant lists to identify potential unauthorized access during the vulnerability window between 11.5.0 release and patching.

Affected VersionsENISA

Mattermost 11.5.0 ≤11.5.1

Affected Packages

go github.com/mattermost/mattermost-server fix: 5.3.2-0.20260401090745-f4d1abe7e8f5, 11.5.2+incompatible
go github.com/mattermost/mattermost-server/v5 no fix
go github.com/mattermost/mattermost-server/v6 no fix
go github.com/mattermost/mattermost/server/v8 fix: 8.0.0-20260401090745-f4d1abe7e8f5, 11.5.2
euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 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

This vulnerability stems from CWE-862 (Missing Authorization) in Mattermost's AI-assisted message rewrite feature, introduced in version 11.5.x. The post rewrite endpoint processes user requests to modify message content using AI assistance but fails to validate whether the requesting user has membership or read permissions for the channel containing the target thread. The CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates a network-accessible API endpoint with no rate limiting or additional security controls beyond basic authentication. Mattermost's access control model relies on explicit channel membership grants, particularly for private channels and direct messages which contain sensitive organizational communications. The authorization bypass occurs server-side during API request processing, allowing any authenticated user to craft requests referencing post IDs from channels they cannot normally view.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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
High
Integrity
None
Availability
None

DescriptionCVE.org

Mattermost versions 11.5.x <= 11.5.1 fail to verify channel membership when processing AI-assisted message rewrites which allows an authenticated attacker to read the content of threads in private channels and direct messages they do not have access to via a crafted request to the post rewrite endpoint.. Mattermost Advisory ID: MMSA-2026-00645

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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