CVE-2024-1942Mattermost Server
Medium 4.3
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 37
- Auth required
- Yes
- Published
- Feb 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, and 9.3.0 fail to sanitize the metadata on posts containing permalinks under specific conditions, which allows an authenticated attacker to access the contents of individual posts in channels they are not a member of.
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 |
≥ 9.2.0+incompatible < 9.2.5+incompatible |
9.2.5+incompatible |
go get github.com/mattermost/mattermost-server@v9.2.5+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 9.3.0+incompatible < 9.3.1+incompatible |
9.3.1+incompatible |
go get github.com/mattermost/mattermost-server@v9.3.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 |
≥ 9.3.0 < 9.3.1 |
9.3.1 |
go get github.com/mattermost/mattermost/server/v8@v9.3.1 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.2.0 < 9.2.5 |
9.2.5 |
go get github.com/mattermost/mattermost/server/v8@v9.2.5 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.1.9 |
8.1.9 |
go get github.com/mattermost/mattermost/server/v8@v8.1.9 |
| Go | github.com/mattermost/mattermost/server/v8 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GO-2024-2592, GHSA-hwjf-4667-gqwx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 8.1.0 < 8.1.9 |
| mattermost | mattermost_server | ≥ 9.2.0 < 9.2.5 |
| mattermost | mattermost_server | 9.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory