CVE-2025-20621Mattermost Server
High 7.5 No auth needed
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Mattermost versions 10.2.x <= 10.2.0, 9.11.x <= 9.11.5, 10.0.x <= 10.0.3, 10.1.x <= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.
What to do
- Apply the vendor's security update for Mattermost Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 9.11.0+incompatible < 9.11.6+incompatible |
9.11.6+incompatible |
go get github.com/mattermost/mattermost-server@v9.11.6+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.0.0+incompatible < 10.0.4+incompatible |
10.0.4+incompatible |
go get github.com/mattermost/mattermost-server@v10.0.4+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.1.0+incompatible < 10.1.4+incompatible |
10.1.4+incompatible |
go get github.com/mattermost/mattermost-server@v10.1.4+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.2.0+incompatible < 10.2.1+incompatible |
10.2.1+incompatible |
go get github.com/mattermost/mattermost-server@v10.2.1+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.2.0 < 10.2.1 |
10.2.1 |
go get github.com/mattermost/mattermost/server/v8@v10.2.1 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.1.0 < 10.1.4 |
10.1.4 |
go get github.com/mattermost/mattermost/server/v8@v10.1.4 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.0.0 < 10.0.4 |
10.0.4 |
go get github.com/mattermost/mattermost/server/v8@v10.0.4 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.11.0 < 9.11.6 |
9.11.6 |
go get github.com/mattermost/mattermost/server/v8@v9.11.6 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20241127161322-25ff7a3779a5 |
8.0.0-20241127161322-25ff7a3779a5 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20241127161322-25ff7a3779a5 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20241127161322-25ff7a3779a5 |
8.0.0-20241127161322-25ff7a3779a5 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20241127161322-25ff7a3779a5 |
Per OSV / GitHub Advisories (GO-2025-3407, GHSA-w6xh-c82w-h997). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 9.11.0 < 9.11.6 |
| mattermost | mattermost_server | ≥ 10.0.0 < 10.0.4 |
| mattermost | mattermost_server | ≥ 10.1.0 < 10.1.4 |
| mattermost | mattermost_server | 10.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory