Vulnerability · Published Jun 11, 2025 · Assigned by Mattermost

CVE-2025-4573LDAP Injection in Mattermost Enterprise Edition When Using Active Directory

Medium 4.1

In plain English

A medium-severity security flaw in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.1Medium
Exploit odds (30 days)0.3%top 79.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server10.5.5GHSA-4r67-4x4p-fprg
Gogithub.com/mattermost/mattermost-server10.7.2GHSA-4r67-4x4p-fprg
Gogithub.com/mattermost/mattermost-server10.6.4GHSA-4r67-4x4p-fprg
Gogithub.com/mattermost/mattermost-server9.11.14GHSA-4r67-4x4p-fprg
Gogithub.com/mattermost/mattermost-server10.5.5+incompatible, 10.6.4+incompatible, 10.7.2+incompatible, 9.11.14+incompatibleGO-2025-3756
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2025-3756
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2025-3756
Gogithub.com/mattermost/mattermost/server/v88.0.0-20250414112942-77892234944bGO-2025-3756
Gogithub.com/mattermost/mattermost/server/v88.0.0-20250414112942-77892234944bGHSA-4r67-4x4p-fprg

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 10.7.0 – through 10.7.110.6.0 – through 10.6.310.5.0 – through 10.5.49.11.0 – through 9.11.13

Weakness: CWE-90 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N

References