CVE-2025-4573
MEDIUM 4.1CVSS 3.1Mattermost allows authenticated administrator to execute LDAP search filter injection
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.
- Published
- 11 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-90
- Also known as
- GHSA-4r67-4x4p-fprgGO-2025-3756
- Sources
- NVDJSONOSV GHSA-4r67-4x4p-fprgJSONOSV GO-2025-3756JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.11.0, < 9.11.14 | 9.11.14 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.5 | 10.5.5 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.6.0, < 10.6.4 | 10.6.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.7.0, < 10.7.2 | 10.7.2 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250414112942-77892234944b | 8.0.0-20250414112942-77892234944b |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.7.0, < 10.7.2 | 10.7.2 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.6.0, < 10.6.4 | 10.6.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.5.0, < 10.5.5 | 10.5.5 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.11.0, < 9.11.14 | 9.11.14 |
| OSV | 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 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions |
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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 11 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2025)