Advisory

GHSA-4r67-4x4p-fprg

Also known as: CVE-2025-4573, GO-2025-3756

Summary

Mattermost allows authenticated administrator to execute LDAP search filter injection

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-11 12:30 UTC
Modified
2025-06-11 18:27 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250414112942-77892234944b (semver)

Fixed versions

8.0.0-20250414112942-77892234944b

Fix

  • Fixed version 8.0.0-20250414112942-77892234944b
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.7.0, fixed 10.7.2 (semver)

Fixed versions

10.7.2

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.6.0, fixed 10.6.4 (semver)

Fixed versions

10.6.4

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.5 (semver)

Fixed versions

10.5.5

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.14 (semver)

Fixed versions

9.11.14

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences