GHSA-hjqh-j6rj-gh8q

Suggest an improvement
Source
https://github.com/advisories/GHSA-hjqh-j6rj-gh8q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hjqh-j6rj-gh8q/GHSA-hjqh-j6rj-gh8q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hjqh-j6rj-gh8q
Aliases
Published
2022-05-24T17:21:03Z
Modified
2025-12-09T17:42:41Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-12-04T17:45:50Z",
    "nvd_published_at":  "2020-06-19T17:15:00Z",
    "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
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.2-0.20171004201910-6be8113eb60c

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hjqh-j6rj-gh8q/GHSA-hjqh-j6rj-gh8q.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.0.20171004154238-fadd9514f6e7
Fixed
4.2.1-0.20171004194140-6d3cb2ce07fc

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hjqh-j6rj-gh8q/GHSA-hjqh-j6rj-gh8q.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-hjqh-j6rj-gh8q/GHSA-hjqh-j6rj-gh8q.json"