NetSight
medium4.1

CVE-2025-4573

Mattermost allows authenticated administrator to execute LDAP search filter injection

Impact

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 packages

EcosystemPackageAffectedFixed in
gogithub.com/mattermost/mattermost/server/v8< 8.0.0-20250414112942-77892234944b8.0.0-20250414112942-77892234944b
gogithub.com/mattermost/mattermost-server>= 10.7.0, < 10.7.210.7.2

Affected products

VendorProductAffected versions
MattermostMattermost Server
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

Weakness classification

References