ADVISORIES

GitHub Advisory Database

GHSA-r7r2-m3vr-c8qc

Mattermost Fails to Validate Team Invite Permissions

Details

Mattermost versions 10.6.x <= 10.6.1, 10.5.x <= 10.5.2, 10.4.x <= 10.4.4, 9.11.x <= 9.11.11 fail to check the correct permissions which allows authenticated users who only have permission to invite non-guest users to a team to add guest users to that team via the API to add a single user to a team.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 10.6.0 before 10.6.2 (fixed in 10.6.2)
Gogithub.com/mattermost/mattermost/server/v8
From 10.5.0 before 10.5.3 (fixed in 10.5.3)
Gogithub.com/mattermost/mattermost/server/v8
From 10.4.0 before 10.4.5 (fixed in 10.4.5)
Gogithub.com/mattermost/mattermost/server/v8
From 9.11.0 before 9.11.12 (fixed in 9.11.12)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250415054241-76ab3867b785 (fixed in 8.0.0-20250415054241-76ab3867b785)

References