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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.5.5 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | 10.7.2 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | 10.6.4 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | 9.11.14 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | 10.5.5+incompatible, 10.6.4+incompatible, 10.7.2+incompatible, 9.11.14+incompatible | GO-2025-3756 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3756 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3756 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250414112942-77892234944b | GO-2025-3756 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20250414112942-77892234944b | GHSA-4r67-4x4p-fprg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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