GHSA-wvw2-3jh4-4c39 is a medium-severity (CVSS 6.8) Path Traversal vulnerability in github.com/mattermost/mattermost-server. A fix is available for github.com/mattermost/mattermost-server — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-wvw2-3jh4-4c39.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/mattermost/mattermost-server🐹github.com/mattermost/mattermost-server🐹github.com/mattermost/mattermost-server🐹github.com/mattermost/mattermost-server🐹github.com/mattermost/mattermost/server/v8Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/mattermost/mattermost-server | ≥ 10.8.0&&< 10.8.2 | 10.8.2go get github.com/mattermost/mattermost-server@v10.8.2 |
| 🐹Go | github.com/mattermost/mattermost-server | ≥ 10.7.0&&< 10.7.4 | 10.7.4go get github.com/mattermost/mattermost-server@v10.7.4 |
| 🐹Go | github.com/mattermost/mattermost-server | ≥ 10.5.0&&< 10.5.8 | 10.5.8go get github.com/mattermost/mattermost-server@v10.5.8 |
| 🐹Go | github.com/mattermost/mattermost-server | ≥ 9.11.0&&< 9.11.17 | 9.11.17go get github.com/mattermost/mattermost-server@v9.11.17 |
| 🐹Go | github.com/mattermost/mattermost/server/v8 | all versions | 8.0.0-20250529054450-d38c27f96fcfgo get github.com/mattermost/mattermost/server/v8@v8.0.0-20250529054450-d38c27f96fcf |
Affected Products
mattermost servermattermostDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/mattermost/mattermost-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/mattermost/mattermost-server to 10.8.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wvw2-3jh4-4c39 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-wvw2-3jh4-4c39 in your dependencies?
Find it across Go, including transitive dependencies.