mattermost/mattermost · Security
Mattermost allows authenticated administrator to execute LDAP search filter injection
- GHSA ID
- GHSA-4r67-4x4p-fprg
- CVE ID
- CVE-2025-4573
- Severity
- medium
- Published
- Updated
- CVSS
- 4.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
- CVSS v3
- 4.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
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.
CWEs
- CWE-90 · Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-4573 ↗
- https://mattermost.com/security-updates ↗
- https://github.com/mattermost/mattermost/commit/1f9c688a30847eeb7bfb1574dc7bbb9f011afbf7 ↗
- https://github.com/mattermost/mattermost/commit/64a65c6107877382040297b3ef215c689caaed74 ↗
- https://github.com/mattermost/mattermost/commit/77892234944bc7476b20794e516538bcac717de9 ↗
- https://github.com/mattermost/mattermost/commit/b33926709b956a59558cc7fef80c0e75a769ce81 ↗
- https://github.com/mattermost/mattermost/commit/b47e89c4f98cb6ad9f1dceb79325aa94e80f963a ↗
- https://github.com/advisories/GHSA-4r67-4x4p-fprg ↗