Live threats

All CVEs / Mattermost

CVE-2017-18876Mattermost Server

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
Yes
Published
Jun 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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 test for the existence of an arbitrary file.

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-6be8113eb60c 4.1.2-0.20171004201910-6be8113eb60c go get github.com/mattermost/mattermost-server@v4.1.2-0.20171004201910-6be8113eb60c
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 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.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-hjqh-j6rj-gh8q, GO-2025-4187). 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.