# CVE-2022-1332: Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2022-04-13T17:06:03.000Z
- Modified: 2026-06-17T04:22:14.080Z
- Also known as: GHSA-qggc-pj29-j27m, BIT-MATTERMOST-2022-1332, GO-2022-0616
- Weaknesses: CWE-200, CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 6.4 before 6.4.2; from 6.3 before 6.3.5; from 6.2 before 6.2.5; from 5.37 before 5.37.9
- github.com/mattermost/mattermost-server/v6 (Go): from 6.4.0 before 6.4.2; from 6.3.0 before 6.3.5; from 6.0.0 before 6.2.5
- github.com/mattermost/mattermost-server/v5 (Go): before 5.37.9
- github.com/mattermost/mattermost-server (Go): all versions
- mattermost mattermost_server: from 5.37.0 before 5.37.9; from 6.2.0 before 6.2.5; from 6.3.0 before 6.3.5; from 6.4.0 before 6.4.2
- mattermost (Bitnami): from 5.37.0 before 5.37.9; from 6.2.0 before 6.2.5; from 6.3.0 before 6.3.5; from 6.4.0 before 6.4.2

## Every score

- Mattermost: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://mattermost.com/security-updates/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1332> (advisory, web)
- <https://github.com/mattermost/mattermost-server> (package)
- <https://mattermost.com/security-updates> (web)
- <https://github.com/advisories/GHSA-qggc-pj29-j27m> (advisory)

## Sources

- CVE List: [CVE-2022-1332](https://www.cve.org/CVERecord?id=CVE-2022-1332), CVE Terms of Use, modified 2024-12-06
- GitHub Advisory Database: [GHSA-qggc-pj29-j27m](https://github.com/advisories/GHSA-qggc-pj29-j27m), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0616](https://pkg.go.dev/vuln/GO-2022-0616), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-1332](https://nvd.nist.gov/vuln/detail/CVE-2022-1332), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2022-1332](https://osv.dev/vulnerability/BIT-MATTERMOST-2022-1332), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2022-1332 · Whole record: https://cve.day/CVE-2022-1332.json · Rebuilt by cve.day 2026-11-25T22:58:10.609Z
