Advisory

GO-2025-4148

Also known as: CVE-2017-18874, GHSA-8qg8-c7mw-6fj7

Summary

Mattermost Server is vulnerable to Directory Traversal by System Admins in github.com/mattermost/mattermost-server

Details

Mattermost Server is vulnerable to Directory Traversal by System Admins 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-6be8113eb60, before v4.2.1-0.20171004194140-6d3cb2ce07fc.

Severity

Not rated by the source.

Dates

Published
2025-12-15 20:33 UTC
Modified
2025-12-15 21:10 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

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

Fixed versions

4.2.0+incompatible, 4.3.0+incompatible

Fix

  • Fixed version 4.2.0+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • 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