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
Lifecycle Timeline
1DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Mattermost
View allDenial 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
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 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
Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo
Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t
Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse
Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr
Same weakness CWE-305 – Authentication Bypass by Primary Weakness
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-43315
GHSA-42ff-p8fr-h5jr