4.9med
CVE-2017-18876
Mattermost Server is vulnerable to Path Traversal when files are stored locally
Also known as GHSA-hjqh-j6rj-gh8q, GO-2025-4187
Published 6 y ago · modified 4 mo ago · JSON
CVSS
4.9
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.9%
percentile 59%
Public exploits
0
none known
Summary
An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2 when local storage for files is used. A System Admin can test for the existence of an arbitrary file.
Exploit prediction (EPSS)
0.87% probability of exploitation in the next 30 days, higher than 59% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server | <4.1.2-0.20171004201910-6be8113eb60c >=4.2.0-rc1.0.20171004154238-fadd9514f6e7, <4.2.1-0.20171004194140-6d3cb2ce07fc >=4.3.0-rc1, <4.3.0 >=4.3.0-rc1+incompatible, <4.3.0+incompatible | 4.1.2-0.20171004201910-6be8113eb60c 4.2.1-0.20171004194140-6d3cb2ce07fc 4.3.0 4.3.0+incompatible |
Classification
References
- mattermost.com /security-updates/ · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-18876 · advisory
- github.com /mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086 · web
- github.com /mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa · web
- github.com /mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0 · web
- github.com /mattermost/mattermost · package
- mattermost.com /security-updates · web
- github.com /advisories/GHSA-hjqh-j6rj-gh8q · advisory
Sources
- CVE List: CVE-2017-18876
- GitHub Advisory: GHSA-hjqh-j6rj-gh8q
- NVD: CVE-2017-18876
- OSV: GO-2025-4187
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.