CVE-2026-5740
Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation
Summary
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost-server@v10.11.15
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260410202636-17939826efa2
go get github.com/mattermost/mattermost-server@v11.6.1
go get github.com/mattermost/mattermost-server@v11.5.4
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)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/mattermost/mattermost-server | go | All versions | 10.11.15 |
| github.com/mattermost/mattermost/server/v8 | go | All versions | 8.0.0-20260410202636-17939826efa2 |
| github.com/mattermost/mattermost-server | go | 11.6.0 | 11.6.1 |
| github.com/mattermost/mattermost-server | go | All versions | 11.5.4 |
| github.com/mattermost/mattermost-server | go | All versions | 11.4.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-789
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-5740?
- Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation 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-5740?
- CVE-2026-5740 affects github.com/mattermost/mattermost-server and github.com/mattermost/mattermost/server/v8. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-5740 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-12419CRITICAL
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication
- CVE-2025-12421CRITICAL
Mattermost fails to to verify the token used during code exchange
- CVE-2025-4981CRITICAL
Mattermost allows authenticated users to write files to arbitrary locations
- 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-2026-6346HIGH
Mattermost doesn't sanitize sensitive configuration fields before including them in support packet generation
- CVE-2026-24458HIGH
Mattermost fails to properly handle very long passwords
- CVE-2025-58075HIGH
Mattermost has a Missing Authorization vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies