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.
{
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8023.json",
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "10.8.0"
},
{
"last_affected": "10.8.3"
},
{
"introduced": "10.5.0"
},
{
"last_affected": "10.5.8"
},
{
"introduced": "9.11.0"
},
{
"last_affected": "9.11.17"
},
{
"introduced": "10.9.0"
},
{
"last_affected": "10.9.2"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "9.11.0"
},
{
"fixed": "9.11.18"
},
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.9"
},
{
"introduced": "10.8.0"
},
{
"fixed": "10.8.4"
},
{
"introduced": "10.9.0"
},
{
"fixed": "10.9.3"
}
]
}