CVE-2017-18888
Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests
Summary
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost-server@v4.2.1
go get github.com/mattermost/mattermost-server@v4.3.0
go get github.com/mattermost/mattermost-server@v4.1.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/mattermost/mattermost-server | go | All versions | 4.2.1 |
| github.com/mattermost/mattermost-server | go | All versions | 4.3.0 |
| github.com/mattermost/mattermost-server | go | All versions | 4.1.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2017-18888?
- Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2017-18888?
- CVE-2017-18888 affects github.com/mattermost/mattermost-server. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-18888 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
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-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-24458HIGH
Mattermost fails to properly handle very long passwords
- CVE-2025-58075HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-5740HIGH
Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies