Live threats

All CVEs / Mattermost

CVE-2022-1332Mattermost Server

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Apr 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-269
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server all no fixed version —
Go github.com/mattermost/mattermost-server/v5 < 5.37.9 5.37.9 go get github.com/mattermost/mattermost-server/v5@v5.37.9
Go github.com/mattermost/mattermost-server/v5 < 5.37.9 5.37.9 go get github.com/mattermost/mattermost-server/v5@v5.37.9
Go github.com/mattermost/mattermost-server/v6 ≥ 6.4.0 < 6.4.2 6.4.2 go get github.com/mattermost/mattermost-server/v6@v6.4.2
Go github.com/mattermost/mattermost-server/v6 ≥ 6.3.0 < 6.3.5 6.3.5 go get github.com/mattermost/mattermost-server/v6@v6.3.5
Go github.com/mattermost/mattermost-server/v6 ≥ 6.0.0 < 6.2.5 6.2.5 go get github.com/mattermost/mattermost-server/v6@v6.2.5
Go github.com/mattermost/mattermost-server/v6 ≥ 6.0.0 < 6.2.5 6.2.5 go get github.com/mattermost/mattermost-server/v6@v6.2.5
Go github.com/mattermost/mattermost-server/v6 ≥ 6.3.0 < 6.3.5 6.3.5 go get github.com/mattermost/mattermost-server/v6@v6.3.5
Go github.com/mattermost/mattermost-server/v6 ≥ 6.4.0 < 6.4.2 6.4.2 go get github.com/mattermost/mattermost-server/v6@v6.4.2

Per OSV / GitHub Advisories (GO-2022-0616, GHSA-qggc-pj29-j27m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 5.37.0 < 5.37.9
mattermostmattermost_server≥ 6.2.0 < 6.2.5
mattermostmattermost_server≥ 6.3.0 < 6.3.5
mattermostmattermost_server≥ 6.4.0 < 6.4.2

Official sources

References

Links published by the sources. Open them with care.