CVE-2025-4573 json
LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
published 2025-06-11 16 mo ago modified 2026-06-17 4 mo ago also GHSA-4r67-4x4p-fprg , GO-2025-3756 , EUVD-2025-18095
- cvss
- 4.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mattermost/mattermost/server/v8 8.0.0-20250414112942-77892234944b
- go github.com/mattermost/mattermost-server 9.11.14, 9.11.14+incompatible, 10.5.5, 10.5.5+incompatible, 10.6.4, 10.6.4+incompatible, 10.7.2, 10.7.2+incompatible
- Mattermost Mattermost 9.11.14, 10.5.5, 10.6.4, 10.7.2, 10.8.0
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250612T141001-1.1
opensuse advisories openSUSE-SU-2025:15225-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N |
| GitHub | 3.1 | 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | <8.0.0-20250414112942-77892234944b |
8.0.0-20250414112942-77892234944b |
| go | github.com/mattermost/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 >=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 |
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 |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-90 Improper Neutralization of Special Elements used in an LDAP Query
References
-
github.com
/mattermost/mattermost/commit/1f9c688a30847eeb7bfb1574dc7bbb9f011afbf7
web
-
github.com
/mattermost/mattermost/commit/64a65c6107877382040297b3ef215c689caaed74
web
-
github.com
/mattermost/mattermost/commit/77892234944bc7476b20794e516538bcac717de9
web
-
github.com
/mattermost/mattermost/commit/b33926709b956a59558cc7fef80c0e75a769ce81
web
-
github.com
/mattermost/mattermost/commit/b47e89c4f98cb6ad9f1dceb79325aa94e80f963a
web
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-4573
advisory
-
github.com
/mattermost/mattermost
package
-
github.com
/advisories/GHSA-4r67-4x4p-fprg
advisory
Sources
- CVE List CVE-2025-4573
- GitHub Advisory GHSA-4r67-4x4p-fprg
- NVD CVE-2025-4573
- OSV GO-2025-3756
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.