Live threats

All CVEs / Mattermost

CVE-2025-4573Mattermost Server

Medium 4.1

Priority
25
CVSS 3.1
4.1
EPSS
—
Auth required
Yes
Published
Jun 11, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-90
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 10.7.0 < 10.7.2 10.7.2 go get github.com/mattermost/mattermost-server@v10.7.2
Go github.com/mattermost/mattermost-server ≥ 10.6.0 < 10.6.4 10.6.4 go get github.com/mattermost/mattermost-server@v10.6.4
Go github.com/mattermost/mattermost-server ≥ 10.5.0 < 10.5.5 10.5.5 go get github.com/mattermost/mattermost-server@v10.5.5
Go github.com/mattermost/mattermost-server ≥ 9.11.0 < 9.11.14 9.11.14 go get github.com/mattermost/mattermost-server@v9.11.14
Go github.com/mattermost/mattermost-server ≥ 9.11.0+incompatible < 9.11.14+incompatible 9.11.14+incompatible go get github.com/mattermost/mattermost-server@v9.11.14+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.5.0+incompatible < 10.5.5+incompatible 10.5.5+incompatible go get github.com/mattermost/mattermost-server@v10.5.5+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.6.0+incompatible < 10.6.4+incompatible 10.6.4+incompatible go get github.com/mattermost/mattermost-server@v10.6.4+incompatible
Go github.com/mattermost/mattermost-server ≥ 10.7.0+incompatible < 10.7.2+incompatible 10.7.2+incompatible go get github.com/mattermost/mattermost-server@v10.7.2+incompatible
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250414112942-77892234944b 8.0.0-20250414112942-77892234944b go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250414112942-77892234944b
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250414112942-77892234944b 8.0.0-20250414112942-77892234944b go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250414112942-77892234944b

Per OSV / GitHub Advisories (GHSA-4r67-4x4p-fprg, GO-2025-3756). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 9.11.0 < 9.11.14
mattermostmattermost_server≥ 10.5.0 < 10.5.5
mattermostmattermost_server≥ 10.6.0 < 10.6.4
mattermostmattermost_server≥ 10.7.0 < 10.7.2

Official sources

References

Links published by the sources. Open them with care.