CVE-2025-49222Mattermost Server
Medium 6.8
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 21, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 10.8.0 < 10.8.4 |
10.8.4 |
go get github.com/mattermost/mattermost-server@v10.8.4 |
| Go | github.com/mattermost/mattermost-server |
≥ 10.5.0 < 10.5.9 |
10.5.9 |
go get github.com/mattermost/mattermost-server@v10.5.9 |
| Go | github.com/mattermost/mattermost-server |
≥ 9.11.0 < 9.11.18 |
9.11.18 |
go get github.com/mattermost/mattermost-server@v9.11.18 |
| Go | github.com/mattermost/mattermost-server |
≥ 10.9.0 < 10.9.3 |
10.9.3 |
go get github.com/mattermost/mattermost-server@v10.9.3 |
| Go | github.com/mattermost/mattermost-server |
≥ 10.10.0 < 10.10.1 |
10.10.1 |
go get github.com/mattermost/mattermost-server@v10.10.1 |
| Go | github.com/mattermost/mattermost-server |
≥ 9.11.0+incompatible < 9.11.18+incompatible |
9.11.18+incompatible |
go get github.com/mattermost/mattermost-server@v9.11.18+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.5.0+incompatible < 10.5.9+incompatible |
10.5.9+incompatible |
go get github.com/mattermost/mattermost-server@v10.5.9+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.8.0+incompatible < 10.8.4+incompatible |
10.8.4+incompatible |
go get github.com/mattermost/mattermost-server@v10.8.4+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.9.0+incompatible < 10.9.3+incompatible |
10.9.3+incompatible |
go get github.com/mattermost/mattermost-server@v10.9.3+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 |
≤ 5.39.3 |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
≤ 5.7.2 |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250708173752-d6b35c41f0ae5 |
8.0.0-20250708173752-d6b35c41f0ae5 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250708173752-d6b35c41f0ae5 |
| Go | github.com/mattermost/mattermost/server/v8 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-q453-638c-h4mr, GO-2025-3904). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 9.11.0 < 9.11.18 |
| mattermost | mattermost_server | ≥ 10.5.0 < 10.5.9 |
| mattermost | mattermost_server | ≥ 10.8.0 < 10.8.4 |
| mattermost | mattermost_server | ≥ 10.9.0 < 10.9.3 |
| mattermost | mattermost_server | 10.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory