medium6.8
CVE-2025-8023
Mattermost Fails to Sanitize Path Traversal Sequences
Impact
Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fails to sanitize path traversal sequences in template file destination paths, which allows a system admin to perform path traversal attacks via malicious path components, potentially enabling malicious file placement outside intended directories.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost-server | >= 10.8.0, <= 10.8.3 | 10.8.4 |
| go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250708065844-b38e2eccda18 | 8.0.0-20250708065844-b38e2eccda18 |
| go | github.com/mattermost/mattermost-server/v5 | <= 5.39.5 | none recorded |
| go | github.com/mattermost/mattermost-server/v6 | <= 6.7.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mattermost | Mattermost Server | from 9.11.0 before 9.11.18 from 10.5.0 before 10.5.9 from 10.8.0 before 10.8.4 from 10.9.0 before 10.9.3 |