CVE-2025-49222
JSON

6.8medium

Mattermost Shared Channel Upload Type Validation Bypass

Severity
6.8medium CVSS:3.1 by Mattermost
Exploit likelihood
0.35% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-q453-638c-h4mrGO-2025-3904

Description

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, 10.10.x <= 10.10.0 fail to validate upload types in remote cluster upload sessions which allows a system admin to upload non-attachment file types via shared channels that could potentially be placed in arbitrary filesystem directories.

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom 10.8.0 up to 10.8.3, from 10.5.0 up to 10.5.8, from 9.11.0 up to 9.11.17, from 10.9.0 up to 10.9.2, from 10.10.0 up to 10.10.0
Not affected: 10.11.0, 10.8.4, 10.5.9, 9.11.18, 10.9.3, 10.10.1
CVE List
github.com/mattermost/mattermost-server (Go)from 10.8.0 before 10.8.4, from 10.5.0 before 10.5.9, from 9.11.0 before 9.11.18, from 10.9.0 before 10.9.3, from 10.10.0 before 10.10.1, from 9.11.0+incompatible before 9.11.18+incompatible, from 10.5.0+incompatible before 10.5.9+incompatible, from 10.8.0+incompatible before 10.8.4+incompatible and 2 moreGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20250708173752-d6b35c41f0ae5, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)up to 5.39.3, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)up to 5.7.2, all versionsGitHub Advisory Database, Go Vulnerability Database
mattermost mattermost_serverfrom 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, 10.10.0NVD

All scores

Mattermost6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
NVD6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N

Classification

CWE-434

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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, 10.10.x <= 10.10.0 fail to validate upload types in remote cluster upload sessions which allows a system admin to upload non-attachment file types via shared channels that could potentially be placed in arbitrary filesystem directories.

Go Vulnerability Database

Mattermost Fails to Validate Remote Cluster Upload Sessions in github.com/mattermost/mattermost-server.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/mattermost/mattermost/server/v8 before v8.0.0-20250708173752-d6b35c41f0ae5.

NVD (es)

Las versiones de Mattermost 10.8.x &lt;= 10.8.3, 10.5.x &lt;= 10.5.8, 9.11.x &lt;= 9.11.17, 10.9.x &lt;= 10.9.2, 10.10.x &lt;= 10.10.0 no pueden validar los tipos de carga en sesiones de carga de clúster remoto, lo que permite que un administrador del sistema cargue tipos de archivos no adjuntos a través de canales compartidos que potencialmente podrían ubicarse en directorios arbitrarios del sistema de archivos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-49222 changed 2025-08-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-q453-638c-h4mr changed 2025-08-29CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3904 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-49222 changed 2026-06-17Public domain