CVE-2025-4573: mattermost LDAP Injection
Vulnerability summary
CVE-2025-4573 is a medium (CVSS 4.1) LDAP Injection vulnerability in mattermost. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 11-06-2025PublishedVulnerability first disclosed.
- 11-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated4.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
- NVDNIST4.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
0.00 pp
From 0.28% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/mattermost/mattermost-server2 products
- v5All versions (No fix recorded)
- v6All versions (No fix recorded)
Mattermost2 products
- mattermost≥ 10.7.0, ≤ 10.7.1 | ≥ 10.6.0, ≤ 10.6.3 | ≥ 10.5.0, ≤ 10.5.4 | ≥ 9.11.0, ≤ 9.11.13
- mattermost_server≥ 9.11.0, < 9.11.14 | ≥ 10.5.0, < 10.5.5 | ≥ 10.6.0, < 10.6.4 | ≥ 10.7.0, < 10.7.2
Github.com/mattermost1 product
- mattermost-server≥ 10.7.0, < 10.7.2 | ≥ 10.6.0, < 10.6.4 | ≥ 10.5.0, < 10.5.5 | ≥ 9.11.0, < 9.11.14 | ≥ 10.7.0+incompatible, < 10.7.2+incompatible
Github.com/mattermost/mattermost/server1 product
- v8< 8.0.0-20250414112942-77892234944b
4 vendors · 6 products