CVE-2025-49222: Mattermost Fails to Validate Remote Cluster Upload Sessions
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.
Published Aug 21, 2025 · Updated Aug 29, 2025
Affected packages
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 10.8.0, <= 10.8.3
- Fixed in
- 10.8.4
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 10.5.0, <= 10.5.8
- Fixed in
- 10.5.9
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 9.11.0, <= 9.11.17
- Fixed in
- 9.11.18
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 10.9.0, <= 10.9.2
- Fixed in
- 10.9.3
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- = 10.10.0
- Fixed in
- 10.10.1
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- < 8.0.0-20250708173752-d6b35c41f0ae5
- Fixed in
- 8.0.0-20250708173752-d6b35c41f0ae5
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost-server/v5
- Ecosystem
- Go
- Affected
- <= 5.39.3
- Fixed in
- No patched version yet
- Check
go list -m github.com/mattermost/mattermost-server/v5
github.com/mattermost/mattermost-server/v6
- Ecosystem
- Go
- Affected
- <= 5.7.2
- Fixed in
- No patched version yet
- Check
go list -m github.com/mattermost/mattermost-server/v6
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-5139
Mattermost doesn't enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler
medium5.4Jun 22, 2026CVE-2026-6062
Mattermost doesn't validate channel ownership of an existing subscription before applying edits
medium6.4Jun 22, 2026CVE-2026-6673
Mattermost doesn't authenticate Atlassian Connect installed callbacks, allowing a remote unauthenticated attacker to inject a rogue sharedSecret
medium6.4Jun 22, 2026CVE-2026-8074
Mattermost doesn't enforce bot-specific permission checks on the user active status endpoint
low3.8Jun 22, 2026CVE-2026-8823
Mattermost has an Incorrect Authorization issue
low3.8Jun 22, 2026CVE-2026-9162
Mattermost doesn't invalidate cached authentication state for active WebSocket connections during global session revocation
medium4.3Jun 22, 2026
