# CVE-2025-49222: Mattermost Shared Channel Upload Type Validation Bypass

- Severity: Medium 6.8 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-08-21T07:59:45.057Z
- Modified: 2026-06-17T09:30:56.957Z
- Also known as: GHSA-q453-638c-h4mr, GO-2025-3904
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 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)
- 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; from 10.9.0+incompatible before 10.9.3+incompatible; from 10.10.0+incompatible before 10.10.1+incompatible
- github.com/mattermost/mattermost/server/v8 (Go): before 8.0.0-20250708173752-d6b35c41f0ae5; all versions
- github.com/mattermost/mattermost-server/v5 (Go): up to 5.39.3; all versions
- github.com/mattermost/mattermost-server/v6 (Go): up to 5.7.2; all 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; 10.10.0

## Every score

- Mattermost: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49222> (advisory)
- <https://github.com/mattermost/mattermost> (package)
- <https://pkg.go.dev/vuln/GO-2025-3904> (web)
- <https://github.com/advisories/GHSA-q453-638c-h4mr> (advisory)

## Sources

- CVE List: [CVE-2025-49222](https://www.cve.org/CVERecord?id=CVE-2025-49222), CVE Terms of Use, modified 2025-08-21
- GitHub Advisory Database: [GHSA-q453-638c-h4mr](https://github.com/advisories/GHSA-q453-638c-h4mr), CC-BY-4.0, modified 2025-08-29
- Go Vulnerability Database: [GO-2025-3904](https://pkg.go.dev/vuln/GO-2025-3904), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-49222](https://nvd.nist.gov/vuln/detail/CVE-2025-49222), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49222 · Whole record: https://cve.day/CVE-2025-49222.json · Rebuilt by cve.day 2026-11-25T22:59:03.462Z
