ADVISORIES

GitHub Advisory Database

GHSA-j6gg-r5jc-47cm

Mattermost fails to properly restrict access to archived channel search API

Details

Mattermost versions < 11 fail to properly restrict access to archived channel search API which allows guest users to discover archived public channels via the /api/v4/teams/{team_id}/channels/search_archived endpoint

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250815165020-c8d66301415d (fixed in 8.0.0-20250815165020-c8d66301415d)
Gogithub.com/mattermost/mattermost
All versions before 5.3.2-0.20250815165020-c8d66301415d (fixed in 5.3.2-0.20250815165020-c8d66301415d)
Gogithub.com/mattermost/mattermost-server
All versions before 5.3.2-0.20250815165020-c8d66301415d (fixed in 5.3.2-0.20250815165020-c8d66301415d)
Gogithub.com/mattermost/mattermost-server/v5
All versions before 5.3.2-0.20250815165020-c8d66301415d (fixed in 5.3.2-0.20250815165020-c8d66301415d)
Gogithub.com/mattermost/mattermost-server/v6
All versions before 5.3.2-0.20250815165020-c8d66301415d (fixed in 5.3.2-0.20250815165020-c8d66301415d)

References