Skip to content
Fencer Vulns
medium 4.1

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

Sources

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.