VDB
Sign up
MEDIUM4.9

GO-2025-4187

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

Quick fix

GO-2025-4187 — github.com/mattermost/mattermost-server: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost-server@v4.3.0+incompatible

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/mattermost/mattermost-server
Introduced in: 4.3.0-rc1+incompatibleFixed in: 4.3.0+incompatible
Fixgo get github.com/mattermost/mattermost-server@v4.3.0+incompatible

References