Advisory

GHSA-hjqh-j6rj-gh8q

Also known as: CVE-2017-18876, GO-2025-4187

Summary

Mattermost Server is vulnerable to Path Traversal when files are stored locally

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:21 UTC
Modified
2025-12-09 17:42 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 0, fixed 4.1.2-0.20171004201910-6be8113eb60c (semver)

Fixed versions

4.1.2-0.20171004201910-6be8113eb60c

Fix

  • Fixed version 4.1.2-0.20171004201910-6be8113eb60c
    go get github.com/mattermost/[email protected]

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 4.2.0-rc1.0.20171004154238-fadd9514f6e7, fixed 4.2.1-0.20171004194140-6d3cb2ce07fc (semver)

Fixed versions

4.2.1-0.20171004194140-6d3cb2ce07fc

Fix

  • Fixed version 4.2.1-0.20171004194140-6d3cb2ce07fc
    go get github.com/mattermost/[email protected]

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 4.3.0-rc1, fixed 4.3.0 (semver)

Fixed versions

4.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences