# CVE-2025-4573: LDAP Injection in Mattermost Enterprise Edition When Using Active Directory

- Severity: Medium 4.1 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-06-11T10:22:24.103Z
- Modified: 2026-06-17T09:33:32.787Z
- Also known as: GHSA-4r67-4x4p-fprg, GO-2025-3756
- Weaknesses: CWE-90
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 10.7.0 up to 10.7.1; from 10.6.0 up to 10.6.3; from 10.5.0 up to 10.5.4; from 9.11.0 up to 9.11.13 (not affected: 10.8.0; 10.7.2; 10.6.4; 10.5.5; 9.11.14)
- github.com/mattermost/mattermost/server/v8 (Go): before 8.0.0-20250414112942-77892234944b
- github.com/mattermost/mattermost-server (Go): from 10.7.0 before 10.7.2; from 10.6.0 before 10.6.4; from 10.5.0 before 10.5.5; from 9.11.0 before 9.11.14; from 9.11.0+incompatible before 9.11.14+incompatible; from 10.5.0+incompatible before 10.5.5+incompatible; from 10.6.0+incompatible before 10.6.4+incompatible; from 10.7.0+incompatible before 10.7.2+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 9.11.0 before 9.11.14; from 10.5.0 before 10.5.5; from 10.6.0 before 10.6.4; from 10.7.0 before 10.7.2

## Every score

- Mattermost: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4573> (advisory)
- <https://github.com/mattermost/mattermost/commit/1f9c688a30847eeb7bfb1574dc7bbb9f011afbf7> (web)
- <https://github.com/mattermost/mattermost/commit/64a65c6107877382040297b3ef215c689caaed74> (web)
- <https://github.com/mattermost/mattermost/commit/77892234944bc7476b20794e516538bcac717de9> (web)
- <https://github.com/mattermost/mattermost/commit/b33926709b956a59558cc7fef80c0e75a769ce81> (web)
- <https://github.com/mattermost/mattermost/commit/b47e89c4f98cb6ad9f1dceb79325aa94e80f963a> (web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-4r67-4x4p-fprg> (advisory)

## Sources

- CVE List: [CVE-2025-4573](https://www.cve.org/CVERecord?id=CVE-2025-4573), CVE Terms of Use, modified 2025-06-11
- GitHub Advisory Database: [GHSA-4r67-4x4p-fprg](https://github.com/advisories/GHSA-4r67-4x4p-fprg), CC-BY-4.0, modified 2025-06-11
- Go Vulnerability Database: [GO-2025-3756](https://pkg.go.dev/vuln/GO-2025-3756), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-4573](https://nvd.nist.gov/vuln/detail/CVE-2025-4573), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4573 · Whole record: https://cve.day/CVE-2025-4573.json · Rebuilt by cve.day 2026-11-25T22:58:59.143Z
