Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2025-4573

CVE-2025-4573: Mattermost allows authenticated administrator to execute LDAP search filter injection

June 11, 2025

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.

References

  • github.com/advisories/GHSA-4r67-4x4p-fprg
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/1f9c688a30847eeb7bfb1574dc7bbb9f011afbf7
  • github.com/mattermost/mattermost/commit/64a65c6107877382040297b3ef215c689caaed74
  • github.com/mattermost/mattermost/commit/77892234944bc7476b20794e516538bcac717de9
  • github.com/mattermost/mattermost/commit/b33926709b956a59558cc7fef80c0e75a769ce81
  • github.com/mattermost/mattermost/commit/b47e89c4f98cb6ad9f1dceb79325aa94e80f963a
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-4573

Code Behaviors & Features

Detect and mitigate CVE-2025-4573 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0-20250414112942-77892234944b

Fixed versions

  • 8.0.0-20250414112942-77892234944b

Solution

Upgrade to version 8.0.0-20250414112942-77892234944b or above.

Impact 4.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2025-4573.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 08 Dec 2025 12:19:50 +0000.