Skip to main content

Mattermost EUVDEUVD-2026-43315

| CVE-2026-9597 MEDIUM
Authentication Bypass by Primary Weakness (CWE-305)
2026-07-13 Mattermost GHSA-42ff-p8fr-h5jr
5.4
CVSS 3.1 · Vendor: Mattermost
View

Attack ChainAIDerived

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

  1. Access
    Obtain magic-link token as active guest
  2. Delivery
    Administrator deactivates guest account
  3. Exploit
    Submit unexpired token to magic-link endpoint
  4. Execution
    Server skips deactivation status check
  5. Persist
    Session issued for deactivated account
  6. Impact
    Access previously authorized channels as guest

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Primary weakness mitigation
Exploitation Conditions

Exploitation requires all three of the following conditions to be met simultaneously: (1) the target Mattermost instance runs a vulnerable version (11.6.x ≤ 11.6.4 or 11.7.x ≤ 11.7.2); (2) the attacker holds a magic-link authentication token that was issued to their guest account before the account was deactivated by an administrator; and (3) that token has not yet expired. The flaw is specific to the magic-link token login path - the description does not indicate that password-based or SSO login paths share this defect. Exploitation is further constrained by the fact that the attacker must have previously been a legitimate, invited guest user on that specific Mattermost workspace. Post-exploitation access is bounded to the guest account's original channel permissions; no lateral movement to higher-privilege roles or unauthorized channels is implied by the vulnerability description.

Impact

The vendor-reported CVSS 5.4 Medium score is well-calibrated for this issue. AV:N confirms the attack is conducted over the network; AC:L reflects that no special conditions beyond token possession are required; PR:L is appropriate because the attacker must have previously been a legitimate guest with a valid pre-deactivation token, making this a post-deactivation persistence scenario rather than an unauthenticated bypass. C:L/I:L/A:N appropriately bounds the impact to reading and posting within previously authorized guest channels - no privilege escalation to member or admin tiers is implied. No EPSS score was provided, preventing probabilistic exploitation likelihood assessment. No KEV listing and no identified POC code further reduce urgency. Real-world risk is highest for organizations with strict guest access revocation requirements (e.g., contractors, external partners) where the assumption that deactivation is immediate and complete drives security posture decisions. The risk window is bounded by magic-link token expiry, and exploitation is limited to the attacker's original guest-level permissions.

Exploit ScenarioDerived

A contractor's Mattermost guest account is deactivated by a system administrator after project completion, but the contractor had previously requested a magic-link login token that has not yet expired. The contractor submits that token via the magic-link authentication endpoint, the server creates a session without checking account status, and the contractor obtains a fully functional session. They can then read message history and post to all channels their guest account was authorized to access prior to deactivation. No public exploit code has been identified at time of analysis, and the attack requires the attacker to already possess a valid pre-deactivation token.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 13, 2026

Deactivated guest accounts in Mattermost 11.6.x through 11.6.4 and 11.7.x through 11.7.2 can regain platform access using magic-link tokens issued before deactivation, because the magic-link login path omits an account-status check during session creation. This directly undermines guest account revocation as an access control mechanism - administrators who deactivate a guest account expecting immediate exclusion will find the control is defeatable while any pre-issued token remains valid. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.

RemediationAI

The primary remediation is to upgrade Mattermost to a version that addresses MMSA-2026-00681 - exact fixed version numbers are not specified in the available data and should be confirmed directly via the Mattermost security advisory at https://mattermost.com/security-updates before deployment. As an immediate compensating control prior to patching, administrators should explicitly invalidate all active sessions for any deactivated guest accounts using the Mattermost System Console (System Console > User Management) or the Mattermost REST API's session revocation endpoint, rather than relying solely on account deactivation. Additionally, reducing the magic-link token validity window limits the exploitation window for pre-issued tokens - note that this affects all magic-link users, not only guests. Simply deactivating a guest account is insufficient under affected versions; session and token revocation must be performed explicitly.

Affected VersionsENISA

Mattermost 11.7.0 ≤11.7.2
Mattermost 11.6.0 ≤11.6.4

Affected Packages

euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Mattermost is a self-hosted team messaging and collaboration platform offering a 'guest' account tier with narrowly scoped channel access. Its magic-link authentication flow issues one-time tokens to users for passwordless login - typically delivered via email. CWE-305 (Authentication Bypass by Primary Weakness) identifies the root cause: a mandatory prerequisite check - verifying that the account is active - is absent on the magic-link session-creation code path, even though it presumably exists on other login paths. The CPE cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* covers all Mattermost application variants in the affected version ranges. The vulnerability is scoped exclusively to guest accounts and the magic-link login path; standard credential-based and SSO login paths are not implicated by the description.

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
vuln.today AI 5.4 MEDIUM

PR:L reflects required prior guest-account context; C:L/I:L bounded to existing guest channel permissions; A:N as no service disruption applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

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.7.x <= 11.7.2, 11.6.x <= 11.6.4 fail to verify whether a guest account is deactivated before creating a session in the magic-link token login path, which allows a deactivated guest user to obtain a fully functional session via a magic-link token issued prior to deactivation.. Mattermost Advisory ID: MMSA-2026-00681

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular self-hosted enterprise team messaging platform
Data Quality
4 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.1%
Patch available No
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

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