Skip to main content
Vulnerability Database/CVE-2026-18799

CVE-2026-18799: Mattermost Auth Bypass Vulnerability

CVE-2026-18799 is an authentication bypass flaw in Mattermost that allows team admins to force-add users and forge posts via crafted Slack imports. This article covers the technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-18799 Overview

CVE-2026-18799 is a missing authorization vulnerability [CWE-862] in Mattermost that permits team administrators to abuse the Slack import feature. Affected releases fail to restrict Slack import account binding to system administrator-initiated imports. An authenticated attacker with team admin privileges can craft a Slack export containing target users' email addresses. This forces existing Mattermost users into the attacker's team and allows forged posts attributed to those users' identities. The flaw is tracked under Mattermost Advisory ID MMSA-2026-00757.

Critical Impact

A team administrator can impersonate arbitrary Mattermost users by uploading a crafted Slack export, undermining message integrity and workspace trust boundaries.

Affected Products

  • Mattermost 11.10.x <= 11.10.0
  • Mattermost 11.9.x <= 11.9.1
  • Mattermost 11.8.x <= 11.8.5 and 11.7.x <= 11.7.9

Discovery Timeline

  • 2026-10-16 - CVE-2026-18799 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-18799

Vulnerability Analysis

Mattermost supports importing Slack workspaces to migrate conversations and user accounts. The import routine binds imported Slack identities to existing Mattermost accounts by matching email addresses present in the Slack export archive. The feature was intended for system administrators but lacked an authorization check restricting invocation to that role.

A team administrator can supply a Slack export containing email addresses belonging to users outside their team. The import then attaches those users to the attacker-controlled team and ingests Slack messages attributed to them. The result is forged posts bearing the identity and avatar of legitimate users, including users with elevated privileges elsewhere in the deployment.

Root Cause

The root cause is a missing authorization check [CWE-862] in the Slack import handler. The code path verifies team admin permission for initiating an import but does not validate that account-binding operations are restricted to the system administrator role. Email-based matching combined with weak role separation produces the identity binding abuse.

Attack Vector

Exploitation requires authenticated access with team admin privileges on the target Mattermost instance. The attacker constructs a Slack export archive referencing the email addresses of targeted users. Uploading the export through the import workflow causes the server to attach the matching accounts to the attacker's team and persist forged posts attributed to those accounts.

No verified public exploit code is available. See the Mattermost Security Updates advisory for additional context.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-18799

Indicators of Compromise

  • Slack import jobs initiated by accounts that do not hold the system administrator role.
  • Unexpected additions of users to teams coinciding with import audit log events.
  • Posts attributed to users whose session logs show no activity at the post timestamp.

Detection Strategies

  • Audit Mattermost application logs for SlackImport or equivalent import events and correlate the initiating user's role.
  • Compare post authorship against authentication telemetry to flag posts without a matching login session.
  • Alert on team membership changes that originate from import jobs rather than invitation flows.

Monitoring Recommendations

  • Forward Mattermost audit logs to a centralized SIEM and retain import activity for retrospective review.
  • Monitor for repeated import attempts from the same team admin account within short windows.
  • Track creation of new teams followed immediately by import uploads referencing external email addresses.

How to Mitigate CVE-2026-18799

Immediate Actions Required

  • Upgrade Mattermost to a fixed release above the affected 11.7.x, 11.8.x, 11.9.x, and 11.10.x branches per the vendor advisory.
  • Review recent Slack import activity and revert any team memberships or posts introduced by non-system-admin imports.
  • Rotate credentials and session tokens for users whose identities may have been impersonated through forged posts.

Patch Information

Mattermost has published fixed releases through its security update channel. Refer to the Mattermost Security Updates page and advisory MMSA-2026-00757 for the exact fixed version mapping for each supported branch.

Workarounds

  • Restrict team administrator role assignments to trusted operators until patching is complete.
  • Disable the Slack import capability for non-system-administrator roles through server configuration policy where supported.
  • Require change-management approval before accepting any Slack export uploads on production instances.

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.