Mattermost versions 10.11.x up to 10.11.20 and 11.7.x up to 11.7.5 fail to remove thread membership records when a user leaves or is removed from a team. This flaw allows a user who was previously removed but later re-invited to the team to access private channel thread root post content and metadata through the team threads API. The vulnerability has a low severity score and does not impact integrity or availability.