CVE-2026-6517 Mattermost Desktop NTLM Credential Leakage Vulnerability
Mattermost Desktop App versions 6.1 and earlier contain a credential leakage vulnerability affecting systems without image proxy enabled. When a user opens a message containing an embedded image pointing to an attacker's server, the application automatically forwards the user's NTLM credentials to that external domain. This occurs because the app fails to maintain a strict allowlist of trusted domains for credential forwarding, enabling attackers to harvest authentication material from any user on the server.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.3 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-522
- Affected products
- 2 configuration(s)
- Published / Modified
- 2026-06-15 / 2026-06-17
NVD description (verbatim)
Mattermost Desktop App versions <=6.1 5.5.13.0 fail to restrict the allow list of domains to which NTLM credentials were forwarded to in the Mattermost Desktop App which allows any user on a server without the image proxy enabled to intercept other users credentials via embedding an image that routes to an external web server. Mattermost Advisory ID: MMSA-2026-00651
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-6517 stems from improper domain validation in NTLM credential handling within Mattermost Desktop App. The vulnerability allows an authenticated attacker to craft a malicious message containing an image tag with a src attribute pointing to an attacker-controlled external server. When recipients view the message, the desktop app automatically attempts NTLM authentication against the attacker's server without verifying that the domain is on an approved allowlist. This credential exposure occurs only when the image proxy feature is disabled, which may be the default or common configuration in some deployments. The issue is mapped to CWE-522 (Insufficient Logging), though the core mechanism involves broken access control over credential forwarding.
Business impact
Successful exploitation results in plaintext or hash-based NTLM credential capture from Desktop App users. An attacker gaining valid NTLM hashes can attempt offline cracking or relay attacks to gain unauthorized access to other systems within the organization's network, including file servers, web applications, or lateral movement opportunities. The attack requires only message visibility and no special privileges, making it applicable across organizations using Mattermost for internal communication. Reputational risk and compliance violations may result if sensitive credentials are exposed.
Affected systems
Mattermost Desktop App version 6.1 and all earlier versions are vulnerable, including 5.5.13.0 and below. The vulnerability applies only to deployments where the image proxy feature is not enabled. Organizations using Mattermost Desktop should verify their current version and proxy configuration. Server-side administrators should check if image proxy is active; users accessing Mattermost primarily through web browsers are not directly impacted.
Exploitability
Exploitation requires authenticated access to a Mattermost server (low barrier for internal users), the ability to post or embed messages, and knowledge that the target user runs a vulnerable Desktop App version without image proxy enabled. The attacker must also host a web server to receive credential requests. The attack is non-interactive from the victim's perspective—simply viewing a message triggers credential forwarding—but requires relatively specific deployment conditions. Network position is not required, as the attack occurs over standard HTTP/HTTPS channels.
Remediation
Upgrade Mattermost Desktop App to a patched version released after June 2026. Verify the specific patched release against the Mattermost advisory (MMSA-2026-00651) and vendor security announcements. As an interim mitigation, enable the image proxy feature on the Mattermost server to restrict external image loading. Users unable to patch immediately should avoid viewing messages from untrusted senders or temporarily disable the Desktop App in favor of web-based access if possible.
Patch guidance
Contact Mattermost or monitor their official security advisories for the patched Desktop App version corresponding to MMSA-2026-00651. Deployment should include updating all Desktop App installations across client machines; consider using centralized software deployment tools or mobile device management solutions to enforce the update. Test the patched version in a non-production environment first to confirm compatibility with your Mattermost server version and organizational integrations.
Detection guidance
Log and monitor outbound NTLM authentication attempts from Desktop App processes to unknown or external domains. Network detection can focus on NTLM traffic (ports 80, 443, or non-standard ports) originating from internal machines to external IPs. Endpoint detection and response (EDR) tools should track process-level image loading and authentication events. Review Mattermost server logs for messages containing external image sources pointing to suspicious domains. If image proxy is enabled, verify it is actively filtering and blocking such requests.
Why prioritize this
This vulnerability merits medium-to-high priority patching despite its CVSS score of 6.3 (Medium) because credential harvesting poses significant business risk. The attack is trivially easy to execute once deployed and affects all users without image proxy protection. The lack of user interaction beyond viewing a message and the wide applicability across internal users elevate the practical risk. Organizations relying on NTLM authentication for network access should treat this as critical; those using alternative authentication schemes (e.g., Kerberos, OAuth) face reduced but non-zero risk.
Risk score, explained
The CVSS 3.1 score of 6.3 reflects the requirement for authenticated access to the Mattermost server (PR:L) and relatively high attack complexity due to the image proxy configuration dependency (AC:H). However, the score does not fully capture the organizational impact of credential harvesting, particularly in environments where NTLM is a primary network authentication vector. The high confidentiality impact (C:H) reflects credential exposure, while integrity and availability remain unaffected. Consider supplementing CVSS with qualitative risk assessment based on your deployment's reliance on NTLM and the prevalence of Desktop App usage.
Frequently asked questions
Will patching the Desktop App break my Mattermost integrations or configurations?
Patching should not affect integrations; it corrects a security flaw in credential handling. Test the patched version in a staging environment to confirm compatibility with your server version and any custom plugins before full deployment.
Is the web browser version of Mattermost affected by this vulnerability?
No. The vulnerability is specific to the Desktop App's NTLM credential forwarding mechanism. Web-based access is not affected, though users should still keep their browsers and Mattermost deployments updated for other security reasons.
What is an image proxy, and why does it protect against this attack?
An image proxy is a server-side feature that fetches external images on behalf of users rather than allowing browsers or clients to connect directly to image sources. When enabled, it prevents the Desktop App from sending NTLM credentials to arbitrary external domains, as the app connects only to the proxy itself.
If we use Kerberos or OAuth instead of NTLM, are we still at risk?
The vulnerability specifically targets NTLM credential forwarding. If your environment does not use NTLM or if the Desktop App does not forward Kerberos or OAuth tokens in the same manner, your exposure is reduced. However, verify this with your IT security team and Mattermost documentation for your specific configuration.
This analysis is based on publicly available information as of June 2026 and the vendor advisory MMSA-2026-00651. Patch version numbers and availability dates should be verified directly with Mattermost's official security documentation. Organizations should conduct internal risk assessments based on their specific deployment configurations, authentication methods, and user bases. This page does not constitute professional security advice; consult your security team and vendor documentation for definitive remediation guidance. Source: NVD (public-domain), retrieved 2026-07-24. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2024-45636MEDIUMIBM QRadar EDR Plaintext Credential Storage (3.12–3.12.24)
- CVE-2026-39908MEDIUMOpenBullet2 NTLMv2 Hash Disclosure via UNC Proxy Path
- CVE-2026-41715MEDIUMReactor Netty HTTP Redirect Credential Leakage Vulnerability
- CVE-2026-42951MEDIUMMacGregor VDR G4E Backup Credential Disclosure – Patch Guidance
- CVE-2026-49379MEDIUMJetBrains TeamCity Credential Exposure in Thread Names
- CVE-2026-49949MEDIUMCodexBar Credential Forwarding Vulnerability (CVSS 5.3)
- CVE-2026-53840HIGHOpenClaw MCP Header Leakage Vulnerability (CVSS 7.1)
- CVE-2026-7313HIGHProgress Sitefinity Plaintext Credential Exposure (CVSS 8.7)