LDAP Injection in Mattermost Enterprise Edition When Using Active Directory
Published Jun 11, 2025
4.1
MEDIUMCVSS 3.1
EPSS 0.28%
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.
Affected products
-
- Version 10.5.0StatusaffectedConstraints<=10.5.4
- Version 10.6.0StatusaffectedConstraints<=10.6.3
- Version 10.7.0StatusaffectedConstraints<=10.7.1
- Version 9.11.0StatusaffectedConstraints<=9.11.13
- Version 10.5.5StatusunaffectedConstraints-
- Version 10.6.4StatusunaffectedConstraints-
- Version 10.7.2StatusunaffectedConstraints-
- Version 10.8.0StatusunaffectedConstraints-
- Version 9.11.14StatusunaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mattermost | Mattermost | unaffected |
|
- ≥ 9.11.0 · < 9.11.14
- ≥ 10.5.0 · < 10.5.5
- ≥ 10.6.0 · < 10.6.4
- ≥ 10.7.0 · < 10.7.2
No data.
No Red Hat product state for this CVE.
github.com/mattermost/mattermost/server/v8
Go
Introduced 0 Fixed 8.0.0-20250414112942-77892234944bgithub.com/mattermost/mattermost-server/v5
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost-server/v6
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost-server
Go
Introduced 9.11.0+incompatible Fixed 9.11.14+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.5.0+incompatible Fixed 10.5.5+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.6.0+incompatible Fixed 10.6.4+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.7.0+incompatible Fixed 10.7.2+incompatible
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | 0 | 8.0.0-20250414112942-77892234944b |
| Go | github.com/mattermost/mattermost-server/v5 | 0 | not fixed |
| Go | github.com/mattermost/mattermost-server/v6 | 0 | not fixed |
| Go | github.com/mattermost/mattermost-server | 9.11.0+incompatible | 9.11.14+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.5.0+incompatible | 10.5.5+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.6.0+incompatible | 10.6.4+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.7.0+incompatible | 10.7.2+incompatible |
Remediation
Vendor solution
Update Mattermost to versions 10.8.0, 10.7.2, 10.6.4, 10.5.5, 9.11.14 or higher.
References (9)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18095 Advisory
- https://github.com/advisories/GHSA-4r67-4x4p-fprg Advisory
- 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://mattermost.com/security-updates Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-4573
Change history (0)
No recorded changes yet.