CVE-2022-1385
MEDIUM 4.6CVSS 3.1Improper Control of a Resource Through its Lifetime in Mattermost
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.
- Published
- 19 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Modified
- Weakness
- CWE-664CWE-668
- Also known as
- BIT-mattermost-2022-1385GHSA-fxwj-v664-wv5gGO-2022-0599
- Sources
- NVDJSONOSV GHSA-fxwj-v664-wv5gJSONOSV GO-2022-0599JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
< 6.5.0 | 6.5.0 |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | < 6.5.0 | 6.5.0 |
| OSV | Go | github.com/mattermost/mattermost-server | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions |
References
- https://hackerone.com/reports/1486820 · Exploit, Third Party Advisory, WEB
- https://mattermost.com/security-updates/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1385 · ADVISORY
- https://github.com/mattermost/mattermost-server · PACKAGE
- https://github.com/advisories/GHSA-fxwj-v664-wv5g · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 Apr 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Apr 2022)