What’s Vulnerable › Vulnerabilities
CVE-2022-1332: Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-13 · updated 2026-06-17
- Weakness: CWE-200
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.
Affected products
- Mattermost: 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 — fixed in 5.37.9, 6.2.5, 6.3.5, 6.4.2
How to fix
Upgrade to a fixed version: Mattermost 5.37.9, 6.2.5, 6.3.5, 6.4.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2022-1332 or the next vulnerability affects your stack