CVE-2025-4573

Medium

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.

SeverityMedium
CVSS4.1
Exploit probability—
ProductMattermost Server
PublishedJun 11, 2025
First seenJun 11, 2025
Weakness typeCWE-90CWE-90

How to fix

Update
  • mattermost mattermost_server9.11.14, 10.5.5, 10.6.4, 10.7.2 or later
  • github.com/mattermost/mattermost/server/v88.0.0-20250414112942-77892234944b or later
  • github.com/mattermost/mattermost-server10.7.2, 10.6.4, 10.5.5, 9.11.14, 9.11.14+incompatible, 10.5.5+incompatible, 10.6.4+incompatible, 10.7.2+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server9.11.0 ≤ v < 9.11.14, 10.5.0 ≤ v < 10.5.5, 10.6.0 ≤ v < 10.6.4, 10.7.0 ≤ v < 10.7.29.11.14, 10.5.5, 10.6.4, 10.7.2
github.com/mattermost/mattermost/server/v8Gov < 8.0.0-20250414112942-77892234944b8.0.0-20250414112942-77892234944b
github.com/mattermost/mattermost-serverGo10.7.0 ≤ v < 10.7.2, 10.6.0 ≤ v < 10.6.4, 10.5.0 ≤ v < 10.5.5, 9.11.0 ≤ v < 9.11.14, 9.11.0+incompatible ≤ v < 9.11.14+incompatible, 10.5.0+incompatible ≤ v < 10.5.5+incompatible, 10.6.0+incompatible ≤ v < 10.6.4+incompatible, 10.7.0+incompatible ≤ v < 10.7.2+incompatible10.7.2, 10.6.4, 10.5.5, 9.11.14, 9.11.14+incompatible, 10.5.5+incompatible, 10.6.4+incompatible, 10.7.2+incompatible
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.