LDAP Group ID Attr Injection in Mattermost 9.11–10.7.1
CVE-2025-4573 Published on June 11, 2025
LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
Mattermost versions 10.7.x <= 10.7.1, 10.6.x <= 10.6.3, 10.5.x <= 10.5.4, 9.11.x <= 9.11.13 fail to properly validate LDAP group ID attributes, allowing an authenticated administrator with PermissionSysconsoleWriteUserManagementGroups permission to execute LDAP search filter injection via the PUT /api/v4/ldap/groups/{remote_id}/link API when objectGUID is configured as the Group ID Attribute.
Vulnerability Analysis
CVE-2025-4573 can be exploited with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Weakness Type
What is a LDAP Injection Vulnerability?
The software constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component.
CVE-2025-4573 has been classified to as a LDAP Injection vulnerability or weakness.
Products Associated with CVE-2025-4573
stack.watch emails you whenever new vulnerabilities are published in Mattermost Server or MatterMost. Just hit a watch button to start following.
Affected Versions
Mattermost:- Version 10.7.0, <= 10.7.1 is affected.
- Version 10.6.0, <= 10.6.3 is affected.
- Version 10.5.0, <= 10.5.4 is affected.
- Version 9.11.0, <= 9.11.13 is affected.
- Version 10.8.0 is unaffected.
- Version 10.7.2 is unaffected.
- Version 10.6.4 is unaffected.
- Version 10.5.5 is unaffected.
- Version 9.11.14 is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.