{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-4573","id":"CVE-2025-4573","title":"LDAP Injection in Mattermost Enterprise Edition When Using Active Directory","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.","descriptionLong":"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.","published":"2025-06-11T10:22:24.103Z","updated":"2026-10-28T02:31:07.826665323Z","reserved":"2025-05-12T10:51:41.573Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.7.1","status":"affected","version":"10.7.0","versionType":"semver"},{"lessThanOrEqual":"10.6.3","status":"affected","version":"10.6.0","versionType":"semver"},{"lessThanOrEqual":"10.5.4","status":"affected","version":"10.5.0","versionType":"semver"},{"lessThanOrEqual":"9.11.13","status":"affected","version":"9.11.0","versionType":"semver"},{"version":"10.8.0","status":"unaffected"},{"version":"10.7.2","status":"unaffected"},{"version":"10.6.4","status":"unaffected"},{"version":"10.5.5","status":"unaffected"},{"version":"9.11.14","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250414112942-77892234944b"],"fixed":["8.0.0-20250414112942-77892234944b"],"advisory":"GHSA-4r67-4x4p-fprg"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=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"],"fixed":["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"],"advisory":"GHSA-4r67-4x4p-fprg"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3756"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3756"}],"cwes":["CWE-90"],"aliases":["GHSA-4r67-4x4p-fprg","GO-2025-3756"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4573.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4573","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost/commit/1f9c688a30847eeb7bfb1574dc7bbb9f011afbf7","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/64a65c6107877382040297b3ef215c689caaed74","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/77892234944bc7476b20794e516538bcac717de9","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/b33926709b956a59558cc7fef80c0e75a769ce81","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/b47e89c4f98cb6ad9f1dceb79325aa94e80f963a","tags":["web"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://github.com/advisories/GHSA-4r67-4x4p-fprg","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00288,"epssPercentile":0.21681,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-4573","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4573","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-4573","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4r67-4x4p-fprg","ok":true,"note":"GHSA-4r67-4x4p-fprg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-4573","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}