CVE-2026-5308 — Vulnerability in...
Mattermost doesn't enforce request body size limits on plugin HTTP endpoints
Summary
Advisory Timeline
- First published May 26, 2026 (139 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, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Go (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/mattermost/mattermost-server | Go | All versions | 11.5.4 |
| github.com/mattermost/mattermost-plugin-github | Go | All versions | 1.0.1-0.20260410143745-9b41b1fd43c4 |
| github.com/mattermost/mattermost-server | Go | All versions | 10.11.15 |
| github.com/mattermost/mattermost-server | Go | 11.6.0 | 11.6.1 |
| github.com/mattermost/mattermost-server | Go | 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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-5308 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2017-18900CRITICAL
Mattermost Server is vulnerable CSV Injection
- CVE-2017-18885CRITICAL
Mattermost Server allows attackers to gain privileges by accessing unintended API endpoints with users' credentials
- CVE-2017-18915CRITICAL
Mattermost Server server restarts may provide attackers with API access
- CVE-2025-12421CRITICAL
Mattermost fails to to verify the token used during code exchange
- CVE-2026-6961HIGH
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
- CVE-2026-6346HIGH
Mattermost doesn't sanitize sensitive configuration fields before including them in support packet generation
- CVE-2026-4858HIGH
Mattermost has a Path Traversal issue
- CVE-2026-24458HIGH
Mattermost fails to properly handle very long passwords
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies