Medium
Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-1332
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 04:44 UTC · Revision 1
Source evidence
Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents
core-osv · Original sourcePublished 13 Apr 2022, 17:06 UTC
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.
osv:CVE-2022-1332
Complete source record
{
"id": "de227e8299d488d5179e3b2b66fd2c97a55d7c593857d1b4649be06857dcdc4a",
"url": "https://osv.dev/vulnerability/CVE-2022-1332",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents",
"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.",
"evidence": "osv:CVE-2022-1332",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-1332",
"aliases": [
"BIT-mattermost-2022-1332",
"CVE-2022-1332",
"GHSA-qggc-pj29-j27m",
"GO-2022-0616"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost",
"type": "GIT",
"events": [
{
"introduced": "f46b068ecf3b20a0d6e529618813e0ef6b85ed72"
},
{
"fixed": "2da130ccd402acff7cf40750dcc0a631c45e2029"
},
{
"introduced": "7dcc03f1a215faaa5ded6592fb06420a8d87f439"
},
{
"fixed": "39979e15019394647cb0219e57651e2e0fb6626a"
},
{
"introduced": "f5a7bfe1ad29be0094ea657f8ccfbe79a11f7430"
},
{
"fixed": "7f1f360e41d8f2ef85c5221fbff252c15bc0c135"
},
{
"introduced": "86a797bc64e7448dbfaa670ed6b8fd7b437e97c3"
},
{
"fixed": "38ef45a7879fd6471a039beaa9c6366224df588b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.37.0"
},
{
"fixed": "5.37.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v6.4.1",
"v6.2.4",
"v6.3.4",
"v6.4.0",
"v6.2.3",
"v5.37.8",
"v6.3.3",
"v6.3.2",
"v6.3.1",
"v6.2.2",
"v5.37.7",
"v6.3.0",
"v5.37.6",
"v6.2.1",
"v6.2.0",
"v5.37.5",
"v5.37.4",
"v5.37.3",
"v5.37.2",
"v5.37.1",
"v5.37.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1332.json"
}
}
],
"modified": "2026-10-28T02:30:25.875797069Z",
"provider": "osv",
"references": [
"https://mattermost.com/security-updates/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1332.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-1332"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "6.4"
},
{
"fixed": "6.4.2"
},
{
"introduced": "6.3"
},
{
"fixed": "6.3.5"
},
{
"introduced": "6.2"
},
{
"fixed": "6.2.5"
},
{
"introduced": "5.37"
},
{
"fixed": "5.37.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1332.json"
}
},
"related_cves": [
{
"value": "CVE-2022-1332",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492566,
"published_at": "2022-04-13T17:06:03+00:00"
}