CVE-2022-1332Mattermost Server
Medium 4.3
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 5.37.0 < 5.37.9 |
| mattermost | mattermost_server | ≥ 6.2.0 < 6.2.5 |
| mattermost | mattermost_server | ≥ 6.3.0 < 6.3.5 |
| mattermost | mattermost_server | ≥ 6.4.0 < 6.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory