CVE-2017-18874 json
Mattermost Server is vulnerable to Directory Traversal by System Admins
published 2020-06-19 6 y ago modified 2026-06-17 4 mo ago also GHSA-8qg8-c7mw-6fj7 , GO-2025-4148 , EUVD-2017-9964
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- 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 achieve directory traversal.
Patch / fix
- go github.com/mattermost/mattermost-server 4.1.2-0.20171004201910-6be8113eb60, 4.2.0+incompatible, 4.2.1-0.20171004194140-6d3cb2ce07fc, 4.3.0, 4.3.0+incompatible
- mattermost mattermost_server 4.1.2, 4.2.1
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20251230T014957-150000.1.134.1
suse advisories SUSE-SU-2026:0037-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Exploit prediction
1.24% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server | <4.1.2-0.20171004201910-6be8113eb60 >=4.2.0-rc1, <4.2.1-0.20171004194140-6d3cb2ce07fc >=4.3.0-rc1, <4.3.0 >=4.2.0-rc1+incompatible, <4.2.0+incompatible >=4.3.0-rc1+incompatible, <4.3.0+incompatible |
4.1.2-0.20171004201910-6be8113eb60 4.2.1-0.20171004194140-6d3cb2ce07fc 4.3.0 4.2.0+incompatible 4.3.0+incompatible |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
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-18874
advisory
-
github.com
/mattermost/mattermost
package
-
mattermost.com
/security-updates
web
-
github.com
/advisories/GHSA-8qg8-c7mw-6fj7
advisory
Sources
- CVE List CVE-2017-18874
- GitHub Advisory GHSA-8qg8-c7mw-6fj7
- NVD CVE-2017-18874
- OSV GO-2025-4148
Fencer Vulns 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.