GitHub Advisoryadvisory · Go

GHSA-4r67-4x4p-fprg Mattermost allows authenticated administrator to execute LDAP search filter injection

MEDIUM Published 2025-06-11 Modified 2025-06-11 Official page ↗
Aliases
CVE-2025-4573
Ecosystem
Go
Packages
github.com/mattermost/mattermost/server/v8, github.com/mattermost/mattermost-server
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
Weaknesses
CWE-90
Reviewed
2025-06-11

Affected packages

• Go github.com/mattermost/mattermost/server/v8: < 8.0.0-20250414112942-77892234944b → fixed in 8.0.0-20250414112942-77892234944b • Go github.com/mattermost/mattermost-server: >= 10.7.0, < 10.7.2 → fixed in 10.7.2 • Go github.com/mattermost/mattermost-server: >= 10.6.0, < 10.6.4 → fixed in 10.6.4 • Go github.com/mattermost/mattermost-server: >= 10.5.0, < 10.5.5 → fixed in 10.5.5 • Go github.com/mattermost/mattermost-server: >= 9.11.0, < 9.11.14 → fixed in 9.11.14

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.

Related

Alias · CVE (1)

  • CVE-2025-4573 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… vulnerability

Weakness · CWE (1)

  • CWE-90 Improper Neutralization of Special Elements used in an LDAP Query weakness

References