GHSA-8qg8-c7mw-6fj7

Suggest an improvement
Source
https://github.com/advisories/GHSA-8qg8-c7mw-6fj7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8qg8-c7mw-6fj7/GHSA-8qg8-c7mw-6fj7.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8qg8-c7mw-6fj7
Aliases
Published
2022-05-24T17:21:02Z
Modified
2025-12-15T21:11:03.470197Z
Summary
Mattermost Server is vulnerable to Directory Traversal by System Admins
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 achieve directory traversal.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed_at": "2025-11-20T21:02:47Z",
    "nvd_published_at": "2020-06-19T19:15:00Z",
    "github_reviewed": true,
    "severity": "MODERATE"
}
References

Affected packages

Go
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.2-0.20171004201910-6be8113eb60

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8qg8-c7mw-6fj7/GHSA-8qg8-c7mw-6fj7.json"
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
4.2.0-rc1
Fixed
4.2.1-0.20171004194140-6d3cb2ce07fc

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8qg8-c7mw-6fj7/GHSA-8qg8-c7mw-6fj7.json"
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
4.3.0-rc1
Fixed
4.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8qg8-c7mw-6fj7/GHSA-8qg8-c7mw-6fj7.json"