Advisory

GO-2025-4187

Also known as: CVE-2017-18876, GHSA-hjqh-j6rj-gh8q

Summary

Mattermost Server is vulnerable to Path Traversal when files are stored locally in github.com/mattermost/mattermost-server

Details

Mattermost Server is vulnerable to Path Traversal when files are stored locally in github.com/mattermost/mattermost-server.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/mattermost/mattermost-server before v4.1.2-0.20171004201910-6be8113eb60c, from v4.2.0-rc1.0.20171004154238-fadd9514f6e7 before v4.2.1-0.20171004194140-6d3cb2ce07fc.

Severity

Not rated by the source.

Dates

Published
2025-12-08 21:31 UTC
Modified
2025-12-09 17:42 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 4.3.0-rc1+incompatible, fixed 4.3.0+incompatible (semver)

Fixed versions

4.3.0+incompatible

Fix

  • Fixed version 4.3.0+incompatible
    go get github.com/mattermost/[email protected]+incompatible

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: Go Vulnerability Database · CC BY 4.0

Sources & licences