CVE-2017-18876 json
Mattermost Server is vulnerable to Path Traversal when files are stored locally
published 2020-06-19 6 y ago modified 2026-06-17 4 mo ago also GHSA-hjqh-j6rj-gh8q , GO-2025-4187 , EUVD-2017-9966
- cvss
- 4.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, 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.
Patch / fix
- go github.com/mattermost/mattermost-server 4.1.2-0.20171004201910-6be8113eb60c, 4.2.1-0.20171004194140-6d3cb2ce07fc, 4.3.0, 4.3.0+incompatible
- mattermost mattermost_server 4.1.2, 4.2.1
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20251209T172047-150000.1.127.1
suse advisories SUSE-SU-2025:4395-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
-
github.com
/mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086
web
-
github.com
/mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa
web
-
github.com
/mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0
web
-
mattermost.com
/security-updates/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-18876
advisory
-
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
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.