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
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2026-4858 | 9.9 Critical | 2026-05-21 | Path traversal | No |
| 2 | CVE-2025-12419 | 9.9 Critical | 2025-11-27 | Critical security flaw | No |
| 3 | CVE-2025-12421 | 9.9 Critical | 2025-11-27 | Critical security flaw | No |
| 4 | CVE-2025-4981 | 9.9 Critical | 2025-06-20 | Remote code execution | No |
| 5 | CVE-2023-6458 | 9.8 Critical | 2023-12-06 | Injection | No |
| 6 | CVE-2018-21251 | 9.8 Critical | 2020-06-19 | Missing authorization | No |
| 7 | CVE-2017-18885 | 9.8 Critical | 2020-06-19 | Improper privilege management | No |
| 8 | CVE-2017-18888 | 9.8 Critical | 2020-06-19 | SQL injection | No |
| 9 | CVE-2017-18900 | 9.8 Critical | 2020-06-19 | Injection | No |
| 10 | CVE-2017-18912 | 9.8 Critical | 2020-06-19 | Path traversal | No |
Each Mattermost CVE explained
1. CVE-2026-4858: Path traversal
- 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)
2. CVE-2025-12419: Critical security flaw
- 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)
3. CVE-2025-12421: Critical security flaw
- 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)
4. CVE-2025-4981: Remote code execution
- 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)
5. CVE-2023-6458: Injection
- 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)
6. CVE-2018-21251: Missing authorization
- 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)
7. CVE-2017-18885: Improper privilege management
- 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)
8. CVE-2017-18888: SQL injection
- 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)
9. CVE-2017-18900: Injection
- 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)
10. CVE-2017-18912: Path traversal
- 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)
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.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Mattermost 12.0 | Oct 16, 2026 | Jan 15, 2027 | 12.0.1 | Supported |
| Mattermost 11.11 | Sep 16, 2026 | Dec 15, 2026 | 11.11.3 | Supported |
| Mattermost 11.10 | Aug 14, 2026 | Nov 15, 2026 | 11.10.4 | Supported |
| Mattermost 11.9 | Jul 16, 2026 | Oct 15, 2026 | 11.9.2 | End of life |
| Mattermost 11.8 | Jun 16, 2026 | Sep 15, 2026 | 11.8.5 | End of life |
| Mattermost 11.7 | May 15, 2026 | May 15, 2027 | 11.7.14 | Supported |
| Mattermost 11.6 | Apr 16, 2026 | Jul 15, 2026 | 11.6.6 | End of life |
| Mattermost 11.5 | Mar 16, 2026 | Jun 15, 2026 | 11.5.7 | End 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
- Patch quickly: these tools are usually internet-facing and hold sensitive data.
- Use single sign-on or two-factor authentication.
- Restrict the administration area to trusted networks.
- Serve the application behind a reverse proxy with modern TLS.
- Review installed apps and plugins and keep them updated.
- 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.
Related security guides
Few stacks run Mattermost alone. These guides cover the technologies it is most often deployed with.
- PostgreSQL vulnerabilities: PostgreSQL is a powerful open-source object-relational database.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- Nextcloud vulnerabilities: Nextcloud is a self-hosted file sync, sharing and collaboration platform.
- Atlassian Confluence vulnerabilities: Atlassian Confluence is a team wiki and knowledge base.
- Atlassian Jira vulnerabilities: Atlassian Jira is a widely used issue and project tracker.
- Matomo vulnerabilities: Matomo is a self-hosted web analytics platform and Google Analytics alternative.
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
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Mattermost (opens in a new tab), release and support dates, checked Nov 3, 2026.
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.