NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

mediumCVSS 3.1 4.1GHSA-4r67-4x4p-fprg

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/{remoteid}/link API when objectGUID is configured as the Group ID Attribute.

Published Jun 11, 2025

Affected packages

github.com/mattermost/mattermost/server/v8

Ecosystem
Go
Affected
< 8.0.0-20250414112942-77892234944b
Fixed in
8.0.0-20250414112942-77892234944b
Check
go list -m github.com/mattermost/mattermost/server/v8

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.7.0, < 10.7.2
Fixed in
10.7.2
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.6.0, < 10.6.4
Fixed in
10.6.4
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.5.0, < 10.5.5
Fixed in
10.5.5
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 9.11.0, < 9.11.14
Fixed in
9.11.14
Check
go list -m github.com/mattermost/mattermost-server

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries