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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250612T141001-1.1 | openSUSE-SU-2025:15225-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | >= 10.7.0, < 10.7.2 | 10.7.2 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | >= 10.6.0, < 10.6.4 | 10.6.4 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | >= 10.5.0, < 10.5.5 | 10.5.5 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | >= 9.11.0, < 9.11.14 | 9.11.14 | GHSA-4r67-4x4p-fprg |
| Go | github.com/mattermost/mattermost-server | >= 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 | 9.11.14+incompatible, 10.5.5+incompatible, 10.6.4+incompatible, 10.7.2+incompatible | GO-2025-3756 |
| Go | github.com/mattermost/mattermost-server/v5 | all versions | — | GO-2025-3756 |
| Go | github.com/mattermost/mattermost-server/v6 | all versions | — | GO-2025-3756 |
| Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250414112942-77892234944b | 8.0.0-20250414112942-77892234944b | GHSA-4r67-4x4p-fprg |
Advisories 2
- openSUSE-SU-2025:15225-1 govulncheck-vulndb-0.0.20250612T141001-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-1006 Mattermost: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 11, 2025