CVE-2026-5308 — Vulnerability in mattermost/mattermost-server
Mattermost doesn't enforce request body size limits on plugin HTTP endpoints
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.45%). Schedule for your next planned update.
Does your project use an affected github.com/mattermost/mattermost-server version?
Paste your go.sum to check it for CVE-2026-5308 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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 enforce request body size limits on plugin HTTP endpoints which allows an attacker to cause a denial of service via crafted oversized HTTP requests.. Mattermost Advisory ID: MMSA-2026-00646
Advisory Timeline
- First published May 26, 2026 (184 days ago).
- Last revised July 7, 2026 — 42 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost-server@v11.5.4
go get github.com/mattermost/mattermost-plugin-github@v1.0.1-0.20260410143745-9b41b1fd43c4
go get github.com/mattermost/mattermost-server@v10.11.15
go get github.com/mattermost/mattermost-server@v11.6.1
go get github.com/mattermost/mattermost-server@v11.4.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| github.com/mattermost/mattermost-server Go · Affected: All versions | 11.5.4 |
| github.com/mattermost/mattermost-plugin-github Go · Affected: All versions | 1.0.1-0.20260410143745-9b41b1fd43c4 |
| github.com/mattermost/mattermost-server Go · Affected: All versions | 10.11.15 |
| github.com/mattermost/mattermost-server Go · Affected: 11.6.0 | 11.6.1 |
| github.com/mattermost/mattermost-server Go · Affected: All versions | 11.4.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Frequently Asked Questions
- What is CVE-2026-5308?
- Mattermost doesn't enforce request body size limits on plugin HTTP endpoints. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-5308?
- CVE-2026-5308 affects github.com/mattermost/mattermost-server and github.com/mattermost/mattermost-plugin-github. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-5308 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 30.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2017-18908CRITICAL
Mattermost Server password reset email requests can be sent to attacker-provided email addresses
- CVE-2025-12419CRITICAL
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication
- CVE-2017-18888CRITICAL
Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests
- CVE-2026-7387HIGH
Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints
- CVE-2025-58073HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-6347HIGH
Mattermost doesn't sanitize sensitive configuration fields in the Mattermost Calls plugin
- CVE-2025-58075HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-5740HIGH
Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation