Description
Mattermost versions 9.5.x <= 9.5.3, 9.7.x <= 9.7.1 and 8.1.x <= 8.1.12 fail to perform a proper authorization check in the /api/v4/groups/<group-id>/channels/<channel-id>/link endpoint which allows a user to learn the members of an AD/LDAP group that is linked to a team by adding the group to a channel, even if the user has no access to the team.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Mattermost Mattermost
Default version status: unaffected
9.5.0 to ≤ 9.5.3affected9.7.0 to ≤ 9.7.1affected8.1.0 to ≤ 8.1.12affected9.8.0unaffected9.5.4unaffected9.7.2unaffected8.1.13unaffected