{"id":"CVE-2025-4573","published":"2025-06-11T10:22:24Z","modified":"2025-06-11T13:13:11Z","title":"LDAP Injection in Mattermost Enterprise Edition When Using Active Directory","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00288,"percentile":0.21885,"provenance":"source"},"cwes":[{"id":"CWE-90","name":"Improper Neutralization of Special Elements used in an LDAP Query"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":4.38},{"name":"CVSS severity","points":2.87}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.7.0, <= 10.7.1",">= 10.6.0, <= 10.6.3",">= 10.5.0, <= 10.5.4",">= 9.11.0, <= 9.11.13"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.8.0","10.7.2","10.6.4","10.5.5","9.11.14"]}],"solutions":{"items":["Update Mattermost to versions 10.8.0, 10.7.2, 10.6.4, 10.5.5, 9.11.14 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-11T13:13:01.950436Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250414112942-77892234944b"],"patched":["8.0.0-20250414112942-77892234944b"],"from":["GHSA-4r67-4x4p-fprg","GO-2025-3756"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.7.0, <10.7.2",">=10.6.0, <10.6.4",">=10.5.0, <10.5.5",">=9.11.0, <9.11.14",">=9.11.0+incompatible, <9.11.14+incompatible",">=10.5.0+incompatible, <10.5.5+incompatible",">=10.6.0+incompatible, <10.6.4+incompatible",">=10.7.0+incompatible, <10.7.2+incompatible"],"patched":["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"],"from":["GHSA-4r67-4x4p-fprg","GO-2025-3756"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3756"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3756"],"provenance":"source"}],"summary":{"text":"LDAP injection in Mattermost Enterprise Edition affects the LDAP group linking functionality when Active Directory is used, specifically because group ID attributes are not properly validated. An attacker with an authenticated administrator account holding the user management groups write permission can exploit this through the PUT /api/v4/ldap/groups/{remote_id}/link API, but only when objectGUID is configured as the Group ID Attribute.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:05Z"},"euvd":{"id":"EUVD-2025-18095","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-46872","published":"2024-10-29","fixed":"8.0.0-20240926115259-20ed58906adc","kev":false},{"cve":"CVE-2024-47401","published":"2024-10-29","fixed":"8.0.0-20240926115259-20ed58906adc","kev":false},{"cve":"CVE-2024-50052","published":"2024-10-29","fixed":"8.0.0-20240926115259-20ed58906adc","kev":false},{"cve":"CVE-2025-4573","published":"2025-06-11","fixed":"8.0.0-20250414112942-77892234944b","kev":false},{"cve":"CVE-2025-4128","published":"2025-06-11","fixed":"8.0.0-20250422131222-701ddc896a10","kev":false},{"cve":"CVE-2025-6226","published":"2025-07-18","fixed":"8.0.0-20250520130510-fa40a8c5d47f","kev":false},{"cve":"CVE-2025-6233","published":"2025-07-18","fixed":"8.0.0-20250529054450-d38c27f96fcf","kev":false},{"cve":"CVE-2025-1792","published":"2025-05-30","fixed":"10.7.1","kev":false,"link":{"from":"CVE-2025-1792","to":"CVE-2025-4573","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250414110750-c23f44fe8ed0","toFixed":"8.0.0-20250414112942-77892234944b","daysApart":12}]}},{"cve":"CVE-2025-2571","published":"2025-05-30","fixed":"10.7.1","kev":false,"link":{"from":"CVE-2025-2571","to":"CVE-2025-4573","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.6.3+incompatible","toFixed":"10.6.4","daysApart":12}]}}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}