CVE-2022-1385Mattermost Server
Medium 4.6
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.6
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Apr 19, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
What happens
Mattermost 6.4.x and earlier fails to properly invalidate pending email invitations when the action is performed from the system console, which allows accidentally invited users to join the workspace and access information from the public teams and channels.
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 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
< 6.5.0 |
6.5.0 |
go get github.com/mattermost/mattermost-server/v6@v6.5.0 |
| Go | github.com/mattermost/mattermost-server/v6 |
< 6.5.0 |
6.5.0 |
go get github.com/mattermost/mattermost-server/v6@v6.5.0 |
Per OSV / GitHub Advisories (GO-2022-0599, GHSA-fxwj-v664-wv5g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | < 6.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- hackerone.com Exploit Third Party Advisory
- mattermost.com Vendor Advisory