Skip to content
OpenAdvisories
Medium · 6.8 CVE-2025-49222 EUVD-2025-25418GHSA-q453-638c-h4mrGO-2025-3904

Mattermost Shared Channel Upload Type Validation Bypass

Published Aug 21, 2025 · Updated Aug 21, 2025 · 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.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 10.8.0 – ≤ 10.8.3, 10.5.0 – ≤ 10.5.8, 9.11.0 – ≤ 9.11.17, 10.9.0 – ≤ 10.9.2, 10.10.0 – ≤ 10.10.0 10.11.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 10.8.0, < 10.8.4 10.8.4 GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server >= 10.5.0, < 10.5.9 10.5.9 GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server >= 9.11.0, < 9.11.18 9.11.18 GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server >= 10.9.0, < 10.9.3 10.9.3 GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server >= 10.10.0, < 10.10.1 10.10.1 GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server >= 9.11.0+incompatible, < 9.11.18+incompatible · >= 10.5.0+incompatible, < 10.5.9+incompatible · >= 10.8.0+incompatible, < 10.8.4+incompatible · >= 10.9.0+incompatible, < 10.9.3+incompatible · >= 10.10.0+incompatible, < 10.10.1+incompatible 9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible, 10.10.1+incompatible GO-2025-3904
Go github.com/mattermost/mattermost-server/v5 <= 5.39.3 — GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3904
Go github.com/mattermost/mattermost-server/v6 <= 5.7.2 — GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3904
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250708173752-d6b35c41f0ae5 8.0.0-20250708173752-d6b35c41f0ae5 GHSA-q453-638c-h4mr
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2025-3904

Advisories 1

References