CVE-2022-1332
MEDIUM 4.3CVSS 3.1Improper Privilege Management in Mattermost
One of the API in Mattermost version 6.4.1 and earlier fails to properly protect the permissions, which allows the authenticated members with restricted custom admin role to bypass the restrictions and view the server logs and server config.json file contents.
- Published
- 13 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-269
- Also known as
- BIT-mattermost-2022-1332GHSA-qggc-pj29-j27mGO-2022-0616
- Sources
- NVDJSONOSV GHSA-qggc-pj29-j27mJSONOSV GO-2022-0616JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 5.37.0, < 5.37.9 | 5.37.9 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 6.2.0, < 6.2.5 | 6.2.5 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 6.3.0, < 6.3.5 | 6.3.5 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 6.4.0, < 6.4.2 | 6.4.2 |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | >= 6.4.0, < 6.4.2 | 6.4.2 |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | >= 6.3.0, < 6.3.5 | 6.3.5 |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | >= 6.0.0, < 6.2.5 | 6.2.5 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | < 5.37.9 | 5.37.9 |
| OSV | Go | github.com/mattermost/mattermost-server | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | >= 6.0.0, < 6.2.5; >= 6.3.0, < 6.3.5; >= 6.4.0, < 6.4.2 | 6.2.5, 6.3.5, 6.4.2 |
References
- https://mattermost.com/security-updates/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1332 · ADVISORY
- https://github.com/mattermost/mattermost-server · PACKAGE
- https://github.com/advisories/GHSA-qggc-pj29-j27m · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 13 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 14 Apr 2022)