Path traversal in image upload with preview overwrite
Published Aug 21, 2025
4.3
MEDIUMCVSS 3.1
EPSS 0.77%
Description
Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 10.10.x <= 10.10.0, 10.9.x <= 10.9.3 fail to sanitize file names which allows users with file upload permission to overwrite file attachment thumbnails via path traversal in file streaming APIs.
Affected products
-
- Version 10.10.0StatusaffectedConstraints-
- Version 10.5.0StatusaffectedConstraints<=10.5.8
- Version 10.8.0StatusaffectedConstraints<=10.8.3
- Version 10.9.0StatusaffectedConstraints<=10.9.3
- Version 10.10.1StatusunaffectedConstraints-
- Version 10.11.0StatusunaffectedConstraints-
- Version 10.5.9StatusunaffectedConstraints-
- Version 10.8.4StatusunaffectedConstraints-
- Version 10.9.4StatusunaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mattermost | Mattermost | unaffected |
|
- ≥ 10.5.0 · < 10.5.9
- ≥ 10.8.0 · < 10.8.4
- ≥ 10.9.0 · < 10.9.4
- 10.10.0
No data.
No Red Hat product state for this CVE.
github.com/mattermost/mattermost-server/v5
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost-server/v6
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost/server/v8
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost-server
Go
Introduced 10.5.0+incompatible Fixed 10.5.9+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.8.0+incompatible Fixed 10.8.4+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.9.0+incompatible Fixed 10.9.4+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.10.0+incompatible Fixed 10.10.1+incompatible
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server/v5 | 0 | not fixed |
| Go | github.com/mattermost/mattermost-server/v6 | 0 | not fixed |
| Go | github.com/mattermost/mattermost/server/v8 | 0 | not fixed |
| Go | github.com/mattermost/mattermost-server | 10.5.0+incompatible | 10.5.9+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.8.0+incompatible | 10.8.4+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.9.0+incompatible | 10.9.4+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.10.0+incompatible | 10.10.1+incompatible |
Remediation
Vendor solution
Update Mattermost to versions 10.11.0, 10.8.4, 10.5.9, 10.10.1, 10.9.4 or higher.
References (5)
Change history (0)
No recorded changes yet.