Arbitrary File Upload Affecting github.com/mattermost/mattermost/server/platform/services/sharedchannel package, versions >=9.11.0 <9.11.18>=10.5.0 <10.5.9>=10.8.0 <10.8.4>=10.9.0 <10.9.3>=10.10.0 <10.10.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERPLATFORMSERVICESSHAREDCHANNEL-12148192
  • published22 Aug 2025
  • disclosed21 Aug 2025
  • creditdaw10

Introduced: 21 Aug 2025

NewCVE-2025-49222  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/platform/services/sharedchannel to version 9.11.18, 10.5.9, 10.8.4, 10.9.3, 10.10.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Upload due to improper validation of upload types in remote cluster upload sessions. An attacker with system admin privileges can gain unauthorized access to sensitive files by uploading non-attachment file types through shared channels, potentially placing them in arbitrary filesystem directories.

CVSS Base Scores

version 4.0
version 3.1