Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure, Privilege escalation
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200 and CWE-269.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mattermost | Mattermost | 6.4 to before 6.4.2; 6.3 to before 6.3.5; 6.2 to before 6.2.5; 5.37 to before 5.37.9 | 6.4.2, 6.3.5, 6.2.5, 5.37.9 | Patch available | CNA |
| — | github.com/mattermost/mattermost-server/v6 (Go) | 6.4.0 to before 6.4.2 | 6.4.2 | Patch available | GHSA-qggc-pj29-j27m |
| — | github.com/mattermost/mattermost-server/v6 (Go) | 6.3.0 to before 6.3.5 | 6.3.5 | Patch available | GHSA-qggc-pj29-j27m |
| — | github.com/mattermost/mattermost-server/v6 (Go) | 6.0.0 to before 6.2.5 | 6.2.5 | Patch available | GHSA-qggc-pj29-j27m |
| — | github.com/mattermost/mattermost-server/v5 (Go) | before 5.37.9 | 5.37.9 | Patch available | GHSA-qggc-pj29-j27m |
- Mattermost VendorMattermost Affected 6.4 to before 6.4.2; 6.3 to before 6.3.5; 6.2 to before 6.2.5; 5.37 to before 5.37.9 Fixed in 6.4.2, 6.3.5, 6.2.5, 5.37.9 Patch available CNA
- github.com/mattermost/mattermost-server/v6 (Go) Vendor— Affected 6.4.0 to before 6.4.2 Fixed in 6.4.2 Patch available GHSA-qggc-pj29-j27m
- github.com/mattermost/mattermost-server/v6 (Go) Vendor— Affected 6.3.0 to before 6.3.5 Fixed in 6.3.5 Patch available GHSA-qggc-pj29-j27m
- github.com/mattermost/mattermost-server/v6 (Go) Vendor— Affected 6.0.0 to before 6.2.5 Fixed in 6.2.5 Patch available GHSA-qggc-pj29-j27m
- github.com/mattermost/mattermost-server/v5 (Go) Vendor— Affected before 5.37.9 Fixed in 5.37.9 Patch available GHSA-qggc-pj29-j27m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* | 5.37.0 to before 5.37.9; 6.2.0 to before 6.2.5; 6.3.0 to before 6.3.5; 6.4.0 to before 6.4.2 | Vulnerable | Mattermost |
- cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* Versions 5.37.0 to before 5.37.9; 6.2.0 to before 6.2.5; 6.3.0 to before 6.3.5; 6.4.0 to before 6.4.2 Vulnerable ·Mattermost
Remediation
- Fix · CNA Mattermost (Mattermost) Fixed in 6.4.2, 6.3.5, 6.2.5, 5.37.9
- Fix · GHSA-qggc-pj29-j27m github.com/mattermost/mattermost-server/v6 (Go) Fixed in 6.4.2 Advisory →
- Fix · GHSA-qggc-pj29-j27m github.com/mattermost/mattermost-server/v6 (Go) Fixed in 6.3.5 Advisory →
- Fix · GHSA-qggc-pj29-j27m github.com/mattermost/mattermost-server/v6 (Go) Fixed in 6.2.5 Advisory →
- Fix · GHSA-qggc-pj29-j27m github.com/mattermost/mattermost-server/v5 (Go) Fixed in 5.37.9 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Mattermost 5.37.9, 6.2.5 and 2 more versions
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2022-01219 OOM DoS in Mattermost image proxyPriority LOW 31
Timeline
- 2026-10-02 Threatist record created from CVE-2022-1332
- 2026-10-03 Alias added: GHSA-qggc-pj29-j27m
- 2026-10-16 EPSS moved to the 50th–90th percentile
References
More Mattermost Server vulnerabilities
- TI-2025-18933 Arbitrary file read in Mattermost Boards via import & export board archive CVSS 3.1CRITICAL 9.9
- TI-2025-04465 Path Traversal Leading to RCE by Any Authenticated Mattermost User CVSS 3.1CRITICAL 9.9
- TI-2017-14068 An issue was discovered in Mattermost Server before 3.6.2. CVSS 3.1CRITICAL 9.8
- TI-2017-14060 An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. CVSS 3.1CRITICAL 9.8
- TI-2017-14048 An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. CVSS 3.1CRITICAL 9.8
- TI-2025-14360 Arbitrary file read via block duplication in Mattermost Boards CVSS 3.1CRITICAL 9.9
Sources
- CVE-2022-1332 · CVE Program
- CVE-2022-1332 · NVD
- FIRST EPSS
- GHSA-qggc-pj29-j27m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences