{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-18876","id":"CVE-2017-18876","title":"Mattermost Server is vulnerable to Path Traversal when files are stored locally","description":"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.","descriptionLong":"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.","published":"2020-06-19T16:50:02.000Z","updated":"2026-10-24T10:31:03.082371258Z","reserved":"2020-06-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":["<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"],"fixed":["4.1.2-0.20171004201910-6be8113eb60c","4.2.1-0.20171004194140-6d3cb2ce07fc","4.3.0","4.3.0+incompatible"],"advisory":"GHSA-hjqh-j6rj-gh8q"}],"cwes":["CWE-732","CWE-22"],"aliases":["GHSA-hjqh-j6rj-gh8q","GO-2025-4187"],"references":[{"url":"https://mattermost.com/security-updates/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18876","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0","tags":["web"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://mattermost.com/security-updates","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hjqh-j6rj-gh8q","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00869,"epssPercentile":0.59485,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-18876","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18876","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-18876","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hjqh-j6rj-gh8q","ok":true,"note":"GHSA-hjqh-j6rj-gh8q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-18876","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}