LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mattermost | 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 | 10.8.0, 10.7.2, 10.6.4, 10.5.5, 9.11.14 | Patch available | CNA |
| — | github.com/mattermost/mattermost/server/v8 (Go) | before 8.0.0-20250414112942-77892234944b | 8.0.0-20250414112942-77892234944b | Patch available | GHSA-4r67-4x4p-fprg |
| — | github.com/mattermost/mattermost-server (Go) | 10.7.0 to before 10.7.2 | 10.7.2 | Patch available | GHSA-4r67-4x4p-fprg |
| — | github.com/mattermost/mattermost-server (Go) | 10.6.0 to before 10.6.4 | 10.6.4 | Patch available | GHSA-4r67-4x4p-fprg |
| — | github.com/mattermost/mattermost-server (Go) | 10.5.0 to before 10.5.5 | 10.5.5 | Patch available | GHSA-4r67-4x4p-fprg |
| — | github.com/mattermost/mattermost-server (Go) | 9.11.0 to before 9.11.14 | 9.11.14 | Patch available | GHSA-4r67-4x4p-fprg |
- Mattermost VendorMattermost Affected 10.7.0 – 10.7.1; 10.6.0 – 10.6.3; 10.5.0 – 10.5.4; 9.11.0 – 9.11.13 Fixed in 10.8.0, 10.7.2, 10.6.4, 10.5.5, 9.11.14 Patch available CNA
- github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected before 8.0.0-20250414112942-77892234944b Fixed in 8.0.0-20250414112942-77892234944b Patch available GHSA-4r67-4x4p-fprg
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.7.0 to before 10.7.2 Fixed in 10.7.2 Patch available GHSA-4r67-4x4p-fprg
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.6.0 to before 10.6.4 Fixed in 10.6.4 Patch available GHSA-4r67-4x4p-fprg
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.5.0 to before 10.5.5 Fixed in 10.5.5 Patch available GHSA-4r67-4x4p-fprg
- github.com/mattermost/mattermost-server (Go) Vendor— Affected 9.11.0 to before 9.11.14 Fixed in 9.11.14 Patch available GHSA-4r67-4x4p-fprg
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* | 9.11.0 to before 9.11.14; 10.5.0 to before 10.5.5; 10.6.0 to before 10.6.4; 10.7.0 to before 10.7.2 | Vulnerable | Mattermost |
- cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* Versions 9.11.0 to before 9.11.14; 10.5.0 to before 10.5.5; 10.6.0 to before 10.6.4; 10.7.0 to before 10.7.2 Vulnerable ·Mattermost
Remediation
- Fix · CNA Mattermost (Mattermost) Fixed in 10.8.0, 10.7.2, 10.6.4, 10.5.5, 9.11.14
- Fix · GHSA-4r67-4x4p-fprg github.com/mattermost/mattermost/server/v8 (Go) Fixed in 8.0.0-20250414112942-77892234944b Advisory →
- Fix · GHSA-4r67-4x4p-fprg github.com/mattermost/mattermost-server (Go) Fixed in 10.7.2 Advisory →
- Fix · GHSA-4r67-4x4p-fprg github.com/mattermost/mattermost-server (Go) Fixed in 10.6.4 Advisory →
- Fix · GHSA-4r67-4x4p-fprg github.com/mattermost/mattermost-server (Go) Fixed in 10.5.5 Advisory →
- Fix · GHSA-4r67-4x4p-fprg github.com/mattermost/mattermost-server (Go) Fixed in 9.11.14 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-4573
- 2026-10-03 Alias added: GHSA-4r67-4x4p-fprg
References
Other 6
- https://github.com/mattermost/mattermost/commit/1f9c688a30847eeb7bfb1574dc7bbb9f011afbf7
- https://github.com/mattermost/mattermost/commit/64a65c6107877382040297b3ef215c689caaed74
- https://github.com/mattermost/mattermost/commit/77892234944bc7476b20794e516538bcac717de9
- https://github.com/mattermost/mattermost/commit/b33926709b956a59558cc7fef80c0e75a769ce81
- https://github.com/mattermost/mattermost/commit/b47e89c4f98cb6ad9f1dceb79325aa94e80f963a
- https://github.com/mattermost/mattermost
More Mattermost Server vulnerabilities
- TI-2025-18933 Arbitrary file read in Mattermost Boards via import & export board archive CVSS 3.1CRITICAL 9.9
- TI-2025-04465 Path Traversal Leading to RCE by Any Authenticated Mattermost User CVSS 3.1CRITICAL 9.9
- TI-2017-14068 An issue was discovered in Mattermost Server before 3.6.2. CVSS 3.1CRITICAL 9.8
- TI-2017-14060 An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. CVSS 3.1CRITICAL 9.8
- TI-2017-14048 An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. CVSS 3.1CRITICAL 9.8
- TI-2025-14360 Arbitrary file read via block duplication in Mattermost Boards CVSS 3.1CRITICAL 9.9
Sources
- CVE-2025-4573 · CVE Program
- CVE-2025-4573 · NVD
- FIRST EPSS
- GHSA-4r67-4x4p-fprg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences