{"cve":"CVE-2022-1332","nvd":{"published":"2022-04-13T18:15:09.780","modified":"2026-06-17T04:22:14.080","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-269","CWE-200"],"references":["https://mattermost.com/security-updates/","https://mattermost.com/security-updates/"],"products":["mattermost:mattermost_server"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-1332","score":0.0065,"percentile":0.51174,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qggc-pj29-j27m","url":"https://osv.dev/vulnerability/GHSA-qggc-pj29-j27m","summary":"Improper Privilege Management in Mattermost","modified":"2024-08-21T15:26:59.027927Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":[">=6.4.0 <6.4.2"],"fixed":["6.4.2"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":[">=6.3.0 <6.3.5"],"fixed":["6.3.5"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":[">=6.0.0 <6.2.5"],"fixed":["6.2.5"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["<5.37.9"],"fixed":["5.37.9"]}]},{"id":"GO-2022-0616","url":"https://osv.dev/vulnerability/GO-2022-0616","summary":"Improper Privilege Management in Mattermost in github.com/mattermost/mattermost-server","modified":"2026-03-03T04:50:47.433459Z","packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["<5.37.9"],"fixed":["5.37.9"]},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":[">=6.0.0 <6.2.5",">=6.3.0 <6.3.5",">=6.4.0 <6.4.2"],"fixed":["6.2.5","6.3.5","6.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}