HIGH 8.8

CVE-2026-7387: Mattermost Privilege Escalation via Group Syncable Link Authorization Bypass

A privilege escalation vulnerability exists in Mattermost that allows users with basic group-link permissions to promote themselves and other group members to team or channel administrator status without proper authorization checks. An attacker could exploit this by sending specially crafted API requests to the group syncable link and patch endpoints, bypassing the role-management authorization layer. This affects multiple versions across Mattermost 11.6, 11.5, and 10.11 release lines.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-863
Affected products
1 configuration(s)
Published / Modified
2026-06-12 / 2026-06-18

NVD description (verbatim)

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 Mattermost fails to require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints, which allows a user with group-link permissions to escalate themselves and group members to team or channel admin via crafted API requests.. Mattermost Advisory ID: MMSA-2026-00665

1 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

Mattermost fails to enforce role-management authorization (CWE-863: Improper Authorization) on the scheme_admin flag within group syncable link and patch API endpoints. The vulnerability stems from missing authorization validation when users attempt to set administrative privileges through these endpoints. An authenticated user with group-link permissions can craft API requests that set the scheme_admin flag for themselves or group members, effectively escalating privileges to team or channel administrator without triggering the required authorization checks. The affected endpoints process the scheme_admin parameter without verifying whether the requesting user has the privilege to modify administrative role assignments.

Business impact

This vulnerability creates a lateral privilege escalation path within Mattermost deployments. Users with limited group-link access can self-promote or elevate peers to administrative roles, potentially gaining control over team or channel settings, member management, and access to sensitive communication channels. In multi-tenant or regulated environments, this could lead to unauthorized access to restricted channels, compliance violations, and compromise of team collaboration security controls. The HIGH CVSS score (8.8) reflects the combination of network accessibility, low attack complexity, and high impact on confidentiality, integrity, and availability.

Affected systems

The vulnerability affects the following Mattermost Server versions: 11.6.x up to and including 11.6.1, 11.5.x up to and including 11.5.4, 10.11.x up to and including 10.11.15, and 10.11.x up to and including 10.11.16. Any deployment running these versions is vulnerable if users have been granted group-link permissions. Verify your exact version via the Mattermost System Console (Administration > About > Version) or by checking the version endpoint.

Exploitability

Exploitation requires valid Mattermost credentials and at least basic group-link permissions—a common configuration in organizations using group-based access management. No authentication bypass is needed, and the attack does not require user interaction or unusual network positioning (CVSS vector: AV:N/AC:L/PR:L). An attacker can exploit this remotely via standard HTTPS API calls. The low attack complexity and straightforward nature of the vulnerable endpoints mean this is practical to exploit once an account with group-link permissions is obtained or already available to an insider.

Remediation

Organizations must upgrade to patched versions of Mattermost that include authorization validation on the scheme_admin flag for group syncable link and patch endpoints. Verify the availability of security patches from the Mattermost advisory (MMSA-2026-00665) and apply them according to your release line. As an interim mitigation, restrict group-link permissions to trusted administrative users only and monitor API audit logs for anomalous scheme_admin flag modifications. Consider network-level API filtering if immediate patching is delayed.

Patch guidance

Consult the official Mattermost security advisory (MMSA-2026-00665) for the specific patch versions available for each affected release line (11.6, 11.5, and 10.11). Mattermost typically releases security patches as point releases within the same minor version or as part of the next available maintenance release. Test patches in a non-production environment first, particularly in multi-team deployments. If you are running a version newer than those listed as affected, you are likely protected; verify this in the advisory.

Detection guidance

Monitor Mattermost audit logs for API calls to group syncable link and patch endpoints (typically under /api/v4/groups or related group management paths) that modify the scheme_admin flag. Flag instances where non-administrative users set scheme_admin to true for themselves or others. Enable detailed API request logging and alert on suspicious role-escalation patterns. Implement intrusion detection rules that identify rapid or bulk scheme_admin flag changes from accounts with limited permissions. Review recent team or channel administrator additions against your organization's change management records.

Why prioritize this

This vulnerability should be patched urgently because it enables privilege escalation with minimal preconditions, affects multiple active Mattermost versions, and has a HIGH CVSS score. The risk is heightened in environments where group-link permissions are widely distributed or where insider threats are a concern. Delayed patching increases the window for both external attackers and insiders to abuse this flaw to gain administrative control.

Risk score, explained

The CVSS 3.1 score of 8.8 (HIGH severity) reflects: (1) Network accessibility with no special network positioning required; (2) Low attack complexity—standard API requests suffice; (3) Low privilege requirement—basic group-link permissions are sufficient; (4) High impact across confidentiality, integrity, and availability, as an attacker can access restricted channels, modify team settings, and disrupt collaboration. The score does not require a successful public exploit to be realized—the authorization flaw is fundamental and exploitable by design.

Frequently asked questions

Can this vulnerability be exploited without Mattermost credentials?

No. The vulnerability requires a valid Mattermost user account with at least group-link permissions. However, in many organizations, these permissions are granted relatively broadly, making the attack surface larger than admin-only vulnerabilities.

Does Mattermost have a public exploit or appear on the KEV catalog?

As of the available data, this vulnerability has not been added to the CISA Known Exploited Vulnerabilities catalog and no public exploit code has been documented. However, the straightforward nature of the authorization flaw means exploitation is feasible for skilled attackers with valid credentials.

What is the difference between affected versions like 10.11.15 and 10.11.16?

Both versions appear in the affected list, meaning both contain the vulnerability. The exact patch versions will be specified in the Mattermost advisory MMSA-2026-00665. Do not assume that a higher patch number is fixed; verify against the advisory before concluding a version is safe.

If we restrict group-link permissions to admins only, are we fully protected from this flaw?

Restricting group-link permissions significantly reduces exploitability by limiting who can trigger the vulnerability. However, this is a temporary mitigation and does not address the underlying authorization bug. Patching remains essential, as the flaw will still exist in the code even if permissions are restricted.

This analysis is based on the published CVE record and Mattermost advisory MMSA-2026-00665 as of the date of publication. Specific patch versions, availability dates, and detailed remediation steps should be verified directly with Mattermost's official security advisories and release notes. SEC.co provides this intelligence for informational purposes to support security decision-making; it does not constitute legal, compliance, or vendor-specific operational advice. Always test patches in a non-production environment and consult your internal change management procedures before deploying updates to production systems. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).