Live threats

All CVEs / Mattermost

CVE-2017-18874Mattermost Server

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
Yes
Published
Jun 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server < 4.1.2-0.20171004201910-6be8113eb60 4.1.2-0.20171004201910-6be8113eb60 go get github.com/mattermost/mattermost-server@v4.1.2-0.20171004201910-6be8113eb60
Go github.com/mattermost/mattermost-server ≥ 4.2.0-rc1 < 4.2.1-0.20171004194140-6d3cb2ce07fc 4.2.1-0.20171004194140-6d3cb2ce07fc go get github.com/mattermost/mattermost-server@v4.2.1-0.20171004194140-6d3cb2ce07fc
Go github.com/mattermost/mattermost-server ≥ 4.3.0-rc1 < 4.3.0 4.3.0 go get github.com/mattermost/mattermost-server@v4.3.0
Go github.com/mattermost/mattermost-server ≥ 4.2.0-rc1+incompatible < 4.2.0+incompatible 4.2.0+incompatible go get github.com/mattermost/mattermost-server@v4.2.0+incompatible
Go github.com/mattermost/mattermost-server ≥ 4.3.0-rc1+incompatible < 4.3.0+incompatible 4.3.0+incompatible go get github.com/mattermost/mattermost-server@v4.3.0+incompatible

Per OSV / GitHub Advisories (GHSA-8qg8-c7mw-6fj7, GO-2025-4148). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server< 4.1.2
mattermostmattermost_server≥ 4.2.0 < 4.2.1
mattermostmattermost_server4.3.0
mattermostmattermost_server4.3.0
mattermostmattermost_server4.3.0
mattermostmattermost_server4.3.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.