The issue is related to a failure in performing proper authorization checks in the "/api/v4/groups/<group-id>/channels/<channel-id>/link" endpoint. This allows a user to determine the members of an AD/LDAP group linked to a team by adding the group to a channel, even if the user has no access to the team.