CVE-2024-1402Mattermost Server
Medium 4.3 No auth needed
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 4.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 46
- Auth required
- No
- Published
- Feb 9, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
What happens
Mattermost fails to check if a custom emoji reaction exists when sending it to a post and to limit the amount of custom emojis allowed to be added in a post, allowing an attacker sending a huge amount of non-existent custom emojis in a post to crash the mobile app of a user seeing the post and to crash the server due to overloading when clients attempt to retrive the aforementioned post.
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.1.0+incompatible < 9.1.5+incompatible |
9.1.5+incompatible |
go get github.com/mattermost/mattermost-server@v9.1.5+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 9.2.0+incompatible < 9.2.4+incompatible |
9.2.4+incompatible |
go get github.com/mattermost/mattermost-server@v9.2.4+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 |
< 8.1.8 |
8.1.8 |
go get github.com/mattermost/mattermost/server/v8@v8.1.8 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.2.0 < 9.2.4 |
9.2.4 |
go get github.com/mattermost/mattermost/server/v8@v9.2.4 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.1.0 < 9.1.5 |
9.1.5 |
go get github.com/mattermost/mattermost/server/v8@v9.1.5 |
| Go | github.com/mattermost/mattermost/server/v8 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GO-2024-2541, GHSA-32h7-7j94-8fc2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≤ 8.1.7 |
| mattermost | mattermost_server | ≥ 9.0.0 ≤ 9.1.4 |
| mattermost | mattermost_server | ≥ 9.2.0 ≤ 9.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory