Every CVE Search/ Get API key

CVE-2022-1332

Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents

4.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.65%Down 0.2 points since Apr 14, 2022
90%50%10%1%

What each source reports

CVE List Score used 4.3

Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents

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.

Record
CVE-2022-1332
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
EUVDEUVD-2022-1816 4.3

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.

Record
EUVD-2022-1816
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-qggc-pj29-j27m 4.3

Improper 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. Per the Mattermost security updates page, versions 6.4.2, 6.3.5, 6.2.5, and 5.37.9 contain patches for this issue

Record
GHSA-qggc-pj29-j27m
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200, CWE-269
Updated
2026-11-02
NVD 4.3

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.

Record
CVE-2022-1332
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-200, CWE-269
Updated
2026-11-02
OSV 4.3

Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents

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.

Record
CVE-2022-1332
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSVGHSA-qggc-pj29-j27m 4.3

Improper 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. Per the Mattermost security updates page, versions 6.4.2, 6.3.5, 6.2.5, and 5.37.9 contain patches for this issue

Record
GHSA-qggc-pj29-j27m
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200, CWE-269
Updated
2026-11-02
OSVBIT-mattermost-2022-1332 No score

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.

Record
BIT-mattermost-2022-1332
Updated
2026-11-02
OSVGO-2022-0616 No score

Improper Privilege Management in Mattermost in github.com/mattermost/mattermost-server

Improper Privilege Management in Mattermost in github.com/mattermost/mattermost-server

Record
GO-2022-0616
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/mattermost/mattermost-server/v6
Go
6.4.0 up to 6.4.2
6.4.2
github.com/mattermost/mattermost-server/v6
Go
6.3.0 up to 6.3.5
6.3.5
github.com/mattermost/mattermost-server/v6
Go
6.0.0 up to 6.2.5
6.2.5
github.com/mattermost/mattermost-server/v5
Go
before 5.37.9
5.37.9
mattermost
Bitnami
5.37.0 up to 5.37.9, 6.2.0 up to 6.2.5, 6.3.0 up to 6.3.5, 6.4.0 up to 6.4.2
5.37.96.2.56.3.56.4.2
github.com/mattermost/mattermost-server
Go
All versions None known
github.com/mattermost/mattermost-server/v6
Go
6.0.0 up to 6.2.5, 6.3.0 up to 6.3.5, 6.4.0 up to 6.4.2
6.2.56.3.56.4.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-1332 is a medium vulnerability (CVSS 4.3) in Mattermost, published April 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in github.com/mattermost/mattermost-server/v6 6.4.2.

References

MoveEnter Open