CVE-2017-18876
MEDIUM 4.9CVSS 3.1Mattermost Server is vulnerable to Path Traversal when files are stored locally
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
- 19 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22CWE-732
- Also known as
- GHSA-hjqh-j6rj-gh8qGO-2025-4187
- Sources
- NVDJSONOSV GHSA-hjqh-j6rj-gh8qJSONOSV GO-2025-4187JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
< 4.1.2 | 4.1.2 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.1 | 4.2.1 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.3.0:rc1:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.3.0:rc2:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.3.0:rc3:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:4.3.0:rc4:*:*:*:*:*:* |
= 4.3.0 | |
| OSV | Go | github.com/mattermost/mattermost-server | < 4.1.2-0.20171004201910-6be8113eb60c | 4.1.2-0.20171004201910-6be8113eb60c |
| OSV | Go | github.com/mattermost/mattermost-server | >= 4.2.0-rc1.0.20171004154238-fadd9514f6e7, < 4.2.1-0.20171004194140-6d3cb2ce07fc | 4.2.1-0.20171004194140-6d3cb2ce07fc |
| OSV | Go | github.com/mattermost/mattermost-server | >= 4.3.0-rc1, < 4.3.0 | 4.3.0 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 4.3.0-rc1+incompatible, < 4.3.0+incompatible | 4.3.0+incompatible |
References
- https://mattermost.com/security-updates/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-18876 · ADVISORY
- https://github.com/mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086 · WEB
- https://github.com/mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa · WEB
- https://github.com/mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0 · WEB
- https://github.com/mattermost/mattermost · PACKAGE
- https://github.com/advisories/GHSA-hjqh-j6rj-gh8q · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 19 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)