Skip to content
Fencer Intel
medium 4.3

CVE-2025-6465 json

Path traversal in image upload with preview overwrite

published last yr. modified 4mo ago also GHSA-pj6f-rc94-gw53 , GO-2025-3910 , EUVD-2025-25460

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

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.

Patch / fix

  • go github.com/mattermost/mattermost-server 10.5.9, 10.5.9+incompatible, 10.8.4, 10.8.4+incompatible, 10.9.4, 10.9.4+incompatible, 10.10.1, 10.10.1+incompatible
  • go github.com/mattermost/mattermost/server/v8 8.0.0-20250708173752-d6b35c41f0ae5
  • Mattermost Mattermost 10.5.9, 10.8.4, 10.9.4, 10.10.1, 10.11.0

Is CVE-2025-6465 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
GitHub 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
go github.com/mattermost/mattermost-server
>=10.8.0, <10.8.4
>=10.5.0, <10.5.9
>=10.9.0, <10.9.4
>=10.10.0, <10.10.1
>=10.5.0+incompatible, <10.5.9+incompatible
>=10.8.0+incompatible, <10.8.4+incompatible
>=10.9.0+incompatible, <10.9.4+incompatible
>=10.10.0+incompatible, <10.10.1+incompatible
10.8.4
10.5.9
10.9.4
10.10.1
10.5.9+incompatible
10.8.4+incompatible
10.9.4+incompatible
10.10.1+incompatible
go github.com/mattermost/mattermost/server/v8
<8.0.0-20250708173752-d6b35c41f0ae5
all versions
8.0.0-20250708173752-d6b35c41f0ae5
go github.com/mattermost/mattermost-server/v5
all versions
no fix listed
go github.com/mattermost/mattermost-server/v6
all versions
no fix listed

Affected products

  • Mattermost Mattermost

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.