What’s Vulnerable › Vulnerabilities
CVE-2025-4573: LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
- Severity: medium (CVSS 4.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-11 · updated 2026-06-17
- Weakness: CWE-90
Description
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.
Affected products
- Mattermost: from 9.11.0 before 9.11.14; from 10.5.0 before 10.5.5; from 10.6.0 before 10.6.4; from 10.7.0 before 10.7.2 — fixed in 10.5.5, 10.6.4, 10.7.2, 9.11.14
How to fix
Upgrade to a fixed version: Mattermost 10.5.5, 10.6.4, 10.7.2, 9.11.14. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-4573 or the next vulnerability affects your stack