Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain magic-link token as active guest
-
DeliveryAdministrator deactivates guest account
-
ExploitSubmit unexpired token to magic-link endpoint
-
ExecutionServer skips deactivation status check
-
PersistSession issued for deactivated account
-
ImpactAccess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (Mattermost).
CVSS VectorVendor: Mattermost
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Mattermost
View allMattermost 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
Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
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
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
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
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
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
EUVD-2026-43315
GHSA-42ff-p8fr-h5jr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB