Medium
Path traversal in image upload with preview overwrite
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-6465
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:58 UTC · Revision 1
Source evidence
Path traversal in image upload with preview overwrite
core-osv · Original sourcePublished 21 Aug 2025, 17:01 UTC
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.
osv:CVE-2025-6465
Complete source record
{
"id": "7caf63d67251d89019f573cbd168a832bf5c06fa4117e4714f146b5a603a3464",
"url": "https://osv.dev/vulnerability/CVE-2025-6465",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Path traversal in image upload with preview overwrite",
"summary": "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.",
"evidence": "osv:CVE-2025-6465",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-6465",
"aliases": [
"CVE-2025-6465",
"GHSA-pj6f-rc94-gw53",
"GO-2025-3910"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost",
"type": "GIT",
"events": [
{
"introduced": "58bd34fd34cbd7d3da777d627b6cffdf8a532930"
},
{
"fixed": "c602a4a78e1f60b9a97ee5bce509ecad4177340c"
},
{
"introduced": "bb105f3a2785636ad53b2d0bf4027900d41f6a67"
},
{
"fixed": "6880f9b5908f20c6c4db1456d3a27603af01dd72"
},
{
"introduced": "14775836a78c8257de08fff229d364755346eff9"
},
{
"fixed": "3b7a835de6c3e0a43212516f91d7e679daa56bb6"
},
{
"introduced": "c8bd5c937551a4e9ad23f5a4fd8aaf7604d046dd"
},
{
"last_affected": "c8bd5c937551a4e9ad23f5a4fd8aaf7604d046dd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.8.0"
},
{
"fixed": "10.8.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.9.0"
},
{
"fixed": "10.9.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:10.10.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "10.10.0-NA"
},
{
"last_affected": "10.10.0-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"10.10.0-NA",
"v10.8.4-rc4",
"v10.9.4-rc1",
"v10.5.9-rc4",
"v10.5.9-rc3",
"v10.8.4-rc3",
"v10.9.3-rc4",
"v10.9.3",
"v10.5.9-rc2",
"v10.8.4-rc2",
"v10.9.3-rc3",
"v10.10.0",
"v10.9.3-rc2",
"v10.8.4-rc1",
"v10.9.3-rc1",
"v10.5.9-rc1",
"v10.9.2-rc1",
"v10.9.2",
"v10.5.8",
"v10.8.3",
"v10.9.1",
"v10.8.2",
"v10.5.8-rc1",
"v10.9.0-rc4",
"v10.9.0",
"mattermost-redux@10.8.0",
"@mattermost/types@10.8.0",
"@mattermost/client@10.8.0",
"v10.5.7",
"v10.5.6-rc1",
"v10.5.6",
"v10.8.1",
"v10.5.5",
"v10.5.5-rc1",
"v10.8.0-rc3",
"v10.8.0",
"v10.5.4-rc2",
"v10.5.4",
"v10.5.4-rc1",
"v10.5.3",
"v10.5.3-rc1",
"v10.5.2",
"v10.5.1",
"v10.5.1-rc2",
"v10.5.1-rc1",
"v10.5.0-rc6",
"v10.5.0",
"@mattermost/types@10.5.0",
"@mattermost/client@10.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6465.json"
}
}
],
"modified": "2026-10-28T02:30:30.356303414Z",
"provider": "osv",
"references": [
"https://mattermost.com/security-updates",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6465.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-6465"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "10.10.0"
},
{
"last_affected": "10.10.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "10.8.0"
},
{
"last_affected": "10.8.3"
},
{
"introduced": "10.5.0"
},
{
"last_affected": "10.5.8"
},
{
"introduced": "10.9.0"
},
{
"last_affected": "10.9.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6465.json"
}
},
"related_cves": [
{
"value": "CVE-2025-6465",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497350,
"published_at": "2025-08-21T17:01:42.866+00:00"
}