CVE-2025-4573
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.
How to fix
- 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
| Product | Affected versions | Fixed in |
|---|---|---|
| mattermost mattermost_server | 9.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.2 | 9.11.14, 10.5.5, 10.6.4, 10.7.2 |
| github.com/mattermost/mattermost/server/v8Go | v < 8.0.0-20250414112942-77892234944b | 8.0.0-20250414112942-77892234944b |
| github.com/mattermost/mattermost-serverGo | 10.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+incompatible | 10.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/v5Go | No range specified | — |
| github.com/mattermost/mattermost-server/v6Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.