CVE-2017-18908 — Vulnerability in mattermost/mattermost-server
Mattermost Server password reset email requests can be sent to attacker-provided email addresses
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.18%). 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-2017-18908 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
An issue was discovered in Mattermost Server before 4.0.0, 3.10.1, and 3.9.1. A password reset request was sometimes sent to an attacker-provided e-mail address.
Advisory Timeline
- First published May 24, 2022 (1647 days ago).
- Last revised February 19, 2026 — 1367 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost-server@v3.10.1
go get github.com/mattermost/mattermost-server@v3.9.1-rc1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/mattermost/mattermost-server Go · Affected: All versions | 3.10.1 |
| github.com/mattermost/mattermost-server Go · Affected: All versions | 3.9.1-rc1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-287Improper AuthenticationMITRE
- CWE-640
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
- https://nvd.nist.gov/vuln/detail/CVE-2017-18908ADVISORY
- https://github.com/mattermost/mattermost/commit/59139390ae927af2e879dbacfe4dadb1adac97c0WEB
- https://github.com/mattermost/mattermost/commit/d3bc11be3acd3a73e6358d958b91427e2584ea71WEB
- https://github.com/mattermost/mattermost/commit/e5065cf7575ee05c040945a4b00b7fd90bf39b83WEB
- https://github.com/mattermost/mattermostPACKAGE
- https://mattermost.com/security-updatesWEB
Frequently Asked Questions
- What is CVE-2017-18908?
- Mattermost Server password reset email requests can be sent to attacker-provided email addresses. 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-18908?
- CVE-2017-18908 affects github.com/mattermost/mattermost-server. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-18908 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 67.7% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-12419CRITICAL
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication
- CVE-2017-18900CRITICAL
Mattermost Server is vulnerable CSV Injection
- 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-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