VulnarioBlogMattermost vulnerabilities

Mattermost Vulnerabilities: The 10 Most Critical Mattermost Security Bugs (CVEs)

Mattermost vulnerabilities are security flaws in Mattermost that attackers can abuse to steal data, take over a server or interrupt a service. Mattermost is an open-source team messaging platform, an alternative to Slack. The National Vulnerability Database (NVD) lists 583 CVEs for Mattermost, 20 of them rated critical, and 178 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical Mattermost security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Mattermost security basics, the current end-of-life dates and a free way to be told about the next Mattermost CVE as soon as it is published.

Key takeaways

  • No Mattermost CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 20 Mattermost CVEs are rated critical (CVSS v3), and 178 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-4858, published May 21, 2026.
  • Supported Mattermost releases today (per endoflife.date): 12.0, 11.11, 11.10, 11.7. Releases not on the list are past their announced end of life.
  • You can monitor Mattermost for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Mattermost CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Mattermost CVEs at a glance

Most critical Mattermost vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2026-48589.9 Critical2026-05-21Path traversalNo
2CVE-2025-124199.9 Critical2025-11-27Critical security flawNo
3CVE-2025-124219.9 Critical2025-11-27Critical security flawNo
4CVE-2025-49819.9 Critical2025-06-20Remote code executionNo
5CVE-2023-64589.8 Critical2023-12-06InjectionNo
6CVE-2018-212519.8 Critical2020-06-19Missing authorizationNo
7CVE-2017-188859.8 Critical2020-06-19Improper privilege managementNo
8CVE-2017-188889.8 Critical2020-06-19SQL injectionNo
9CVE-2017-189009.8 Critical2020-06-19InjectionNo
10CVE-2017-189129.8 Critical2020-06-19Path traversalNo

Each Mattermost CVE explained

1. CVE-2026-4858: Path traversal

  • CVSS 9.9 Critical
  • Published 2026-05-21
  • CWE-22
What NVD says
Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to check integration URL for path traversal which allows an malicious authenticated user to call an arbitrary API via system admin Mattermost auth token using via path traversal in integration action URL.. Mattermost Advisory ID: MMSA-2026-00640
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
10.11.0 to before 10.11.15; 11.4.0 to before 11.4.5; 11.5.0 to before 11.5.4; 11.6.0
What to do
Upgrade to the fixed release for your branch (10.11.15, 11.4.5, 11.5.4) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-4858 (opens in a new tab)

2. CVE-2025-12419: Critical security flaw

  • CVSS 9.9 Critical
  • Published 2025-11-27
  • CWE-303
What NVD says
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 validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
10.5.0 to before 10.5.13; 10.11.0 to before 10.11.5; 10.12.0 to before 10.12.2; 11.0.0 to before 11.0.4
What to do
Upgrade to the fixed release for your branch (10.5.13, 10.11.5, 10.12.2) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-12419 (opens in a new tab)

3. CVE-2025-12421: Critical security flaw

  • CVSS 9.9 Critical
  • Published 2025-11-27
  • CWE-303
What NVD says
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 the token used during the code exchange originates from the same authentication flow, which allows an authenticated user to perform account takeover via a specially crafted email address used when switching authentication methods and sending a request to the /users/login/sso/code-exchange endpoint.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
10.5.0 to before 10.5.13; 10.11.0 to before 10.11.5; 10.12.0 to before 10.12.2; 11.0.0 to before 11.0.3
What to do
Upgrade to the fixed release for your branch (10.5.13, 10.11.5, 10.12.2) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-12421 (opens in a new tab)

4. CVE-2025-4981: Remote code execution

  • CVSS 9.9 Critical
  • Published 2025-06-20
  • CWE-427
What NVD says
Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to sanitize filenames in the archive extractor which allows authenticated users to write files to arbitrary locations on the filesystem via uploading archives with path traversal sequences in filenames, potentially leading to remote code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
9.11.0 to before 9.11.16; 10.5.0 to before 10.5.6; 10.6.0 to before 10.6.6; 10.7.0 to before 10.7.3
What to do
Upgrade to the fixed release for your branch (9.11.16, 10.5.6, 10.6.6) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-4981 (opens in a new tab)

5. CVE-2023-6458: Injection

  • CVSS 9.8 Critical
  • Published 2023-12-06
  • CWE-74
What NVD says
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perform a client-side path traversal.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 7.8.14; 8.0.0 to before 8.1.5; 9.0.0 to before 9.0.3; 9.1.0 to before 9.1.2
What to do
Upgrade to the fixed release for your branch (7.8.14, 8.1.5, 9.0.3) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-6458 (opens in a new tab)

6. CVE-2018-21251: Missing authorization

  • CVSS 9.8 Critical
  • Published 2020-06-19
  • CWE-862
What NVD says
An issue was discovered in Mattermost Server before 5.2 and 5.1.1. Authorization could be bypassed if the channel name were not the same in the params and the body.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 5.1.1; 5.2.0
What to do
Upgrade to 5.1.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2018-21251 (opens in a new tab)

7. CVE-2017-18885: Improper privilege management

  • CVSS 9.8 Critical
  • Published 2020-06-19
  • CWE-269
What NVD says
An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2. It allows attackers to gain privileges by accessing unintended API endpoints on a user's behalf.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 4.1.2; 4.2.0 to before 4.2.1; 4.3.0
What to do
Upgrade to the fixed release for your branch (4.1.2, 4.2.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-18885 (opens in a new tab)

8. CVE-2017-18888: SQL injection

  • CVSS 9.8 Critical
  • Published 2020-06-19
  • CWE-89
What NVD says
An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2. It allows SQL injection during the fetching of multiple posts.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 4.1.2; 4.2.0 to before 4.2.1; 4.3.0
What to do
Upgrade to the fixed release for your branch (4.1.2, 4.2.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-18888 (opens in a new tab)

9. CVE-2017-18900: Injection

  • CVSS 9.8 Critical
  • Published 2020-06-19
  • CWE-74
What NVD says
An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. It allows CSV injection via a compliance report.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 3.10.3; 4.0.0 to before 4.0.4
What to do
Upgrade to the fixed release for your branch (3.10.3, 4.0.4) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-18900 (opens in a new tab)

10. CVE-2017-18912: Path traversal

  • CVSS 9.8 Critical
  • Published 2020-06-19
  • CWE-22
What NVD says
An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. It allows an attacker to specify a full pathname of a log file.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 3.6.7; 3.7.0 to before 3.7.5; 3.8.0 to before 3.8.2
What to do
Upgrade to the fixed release for your branch (3.6.7, 3.7.5, 3.8.2) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-18912 (opens in a new tab)

Mattermost end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Mattermost vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Mattermost releases are 12.0, 11.11, 11.10, 11.7.

Mattermost release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Mattermost 12.0Oct 16, 2026Jan 15, 202712.0.1Supported
Mattermost 11.11Sep 16, 2026Dec 15, 202611.11.3Supported
Mattermost 11.10Aug 14, 2026Nov 15, 202611.10.4Supported
Mattermost 11.9Jul 16, 2026Oct 15, 202611.9.2End of life
Mattermost 11.8Jun 16, 2026Sep 15, 202611.8.5End of life
Mattermost 11.7May 15, 2026May 15, 202711.7.14Supported
Mattermost 11.6Apr 16, 2026Jul 15, 202611.6.6End of life
Mattermost 11.5Mar 16, 2026Jun 15, 202611.5.7End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

Mattermost security checklist

  1. Patch quickly: these tools are usually internet-facing and hold sensitive data.
  2. Use single sign-on or two-factor authentication.
  3. Restrict the administration area to trusted networks.
  4. Serve the application behind a reverse proxy with modern TLS.
  5. Review installed apps and plugins and keep them updated.
  6. Back up regularly and test restores.

Where you run Mattermost matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Mattermost: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Mattermost. A flaw anywhere in the chain can be the way in, so also review our guides to PostgreSQL vulnerabilities, Docker vulnerabilities and Nextcloud vulnerabilities.

How to get alerted about new Mattermost vulnerabilities

NVD received 178 new Mattermost CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Mattermost and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Mattermost alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Mattermost vulnerabilities

What are the most critical Mattermost vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Mattermost CVEs include CVE-2026-4858 (CVSS 9.9), CVE-2025-12419 (CVSS 9.9), CVE-2025-12421 (CVSS 9.9). The guide above ranks the 10 most critical with affected versions and fixes.

Have Mattermost vulnerabilities been exploited in real attacks?

For the Mattermost product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep Mattermost patched.

How many vulnerabilities does Mattermost have?

As of Nov 3, 2026 the National Vulnerability Database lists 583 CVEs for Mattermost, with 20 rated critical by CVSS v3. 178 were published in the previous twelve months.

Which Mattermost versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Mattermost releases as supported: 12.0, 11.11, 11.10, 11.7. Releases that are not listed are past their announced end of life.

How can I get alerted when a new Mattermost CVE is published?

Add Mattermost to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Mattermost and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Mattermost secure?

Mattermost is as secure as its patch level. NVD published 178 new Mattermost CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2026-4858?

CVE-2026-4858 is a critical Mattermost vulnerability with a CVSS score of 9.9, published May 21, 2026. Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to check integration URL for path traversal which allows an malicious authenticated user to call an arbitrary API via system admin Mattermost auth token using via path traversal in integration action…

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.