CVE-2025-4573

LDAP Injection in Mattermost Enterprise Edition When Using Active Directory

State
Published
Severity
4.1 Medium
Published
Jun 11, 2025
Updated
Jun 11, 2025
Reserved
May 12, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.1 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:NMattermost

Weaknesses

  • CWE-90 Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Affected Products

ProductVersions
MattermostMattermost
  • 10.7.0 through 10.7.1Affected
  • 10.6.0 through 10.6.3Affected
  • 10.5.0 through 10.5.4Affected
  • 9.11.0 through 9.11.13Affected
  • 10.8.0Not affected
  • 10.7.2Not affected
  • 10.6.4Not affected
  • 10.5.5Not affected
  • 9.11.14Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.