CVE-2026-3115
vulnerability analysis and mitigation

Overview

CVE-2026-3115 is an authorization bypass vulnerability in Mattermost Server that allows authenticated guest users to enumerate user IDs outside their permitted visibility scope via the group retrieval endpoint. It is tracked under Mattermost Advisory ID MMSA-2026-00594 and was disclosed on March 26, 2026. Affected versions include 11.2.x ≤ 11.2.2, 10.11.x ≤ 10.11.10, 11.3.x ≤ 11.3.1, and 11.4.x ≤ 11.4.0. The vulnerability carries a CVSS v3.1 base score of 4.3 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a failure to enforce view restrictions when retrieving group member IDs through the group retrieval API endpoint, classified as CWE-863 (Incorrect Authorization) and CWE-639 (Authorization Bypass Through User-Controlled Key). An authenticated guest user can send requests to the group retrieval endpoint and receive user IDs that should be outside their visibility scope, effectively bypassing the platform's access control model. Exploitation requires only low-privilege network access (a valid guest account) with no user interaction, making it straightforward to abuse in any deployment where guest accounts are enabled (Red Hat Advisory, Red Hat Bugzilla).

Impact

Successful exploitation results in unauthorized information disclosure, specifically the enumeration of user IDs that guest accounts should not be able to observe. While there is no direct integrity or availability impact, the exposed user IDs can facilitate reconnaissance, targeted phishing, or social engineering campaigns against other platform users. The vulnerability affects confidentiality at a low level and is limited in scope to the Mattermost server instance, with no evidence of lateral movement capability (Red Hat Advisory).

Exploitation steps

  1. Obtain guest access: Register or obtain credentials for a guest account on a vulnerable Mattermost instance (versions 11.2.x ≤ 11.2.2, 10.11.x ≤ 10.11.10, 11.3.x ≤ 11.3.1, or 11.4.0).
  2. Authenticate: Log in to the Mattermost API using the guest account credentials to obtain a valid session token.
  3. Query the group retrieval endpoint: Send authenticated API requests to the group retrieval endpoint (e.g., GET /api/v4/groups/{group_id}/members) for groups the guest user is not a member of or does not have visibility into.
  4. Enumerate user IDs: Parse the API responses to collect user IDs returned without proper view restriction enforcement, building a list of platform users outside the guest's permitted scope.
  5. Leverage for further attacks: Use the enumerated user IDs for targeted reconnaissance, phishing, or social engineering against identified users (Red Hat Bugzilla, Mattermost Security).

Indicators of compromise

  • Logs: Mattermost audit logs showing a guest account making repeated API requests to group retrieval endpoints (/api/v4/groups/*/members) for groups outside their membership or channel scope.
  • Network: Unusual volume of group member enumeration API calls from a single guest user session, particularly targeting multiple group IDs in rapid succession.
  • Logs: API access logs reflecting 200 OK responses to group member ID requests from accounts with guest-level permissions that should not have visibility into those groups.

Mitigation and workarounds

Mattermost has released patched versions addressing this vulnerability: upgrade to 11.2.3 or later (for 11.2.x), 10.11.11 or later (for 10.11.x), 11.3.2 or later (for 11.3.x), or 11.4.1 or later (for 11.4.x). As an interim workaround, administrators should consider restricting guest account access at the network level or disabling guest accounts entirely if not required. Reviewing audit logs for anomalous group enumeration activity from guest accounts is also recommended (Mattermost Security, Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management