CVE-2025-4573

LDAP Injection in Mattermost Enterprise Edition When Using Active Directory

Published Jun 11, 2025 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

Update Mattermost to versions 10.8.0, 10.7.2, 10.6.4, 10.5.5, 9.11.14 or higher.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18095 Mattermost allows authenticated administrator to execute LDAP search filter injection
Github GHSA Github GHSA GHSA-4r67-4x4p-fprg Mattermost allows authenticated administrator to execute LDAP search filter injection
References
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00029}

epss

{'score': 0.00032}

Type Values Removed Values Added
First Time appeared Mattermost
Mattermost mattermost Server
CPEs cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
Vendors & Products Mattermost
Mattermost mattermost Server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
Weaknesses CWE-90
References
Metrics cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Mattermost
Published
Updated
Jun 11, 2025, 1:13 PM
Reserved
May 12, 2025, 10:51 AM
Status
Analyzed
Published
Jun 11, 2025, 11:15 AM
Modified
Jun 17, 2026, 9:33 AM