NetSight
critical8.7

CVE-2024-39274

Mattermost failed to properly validate that the channel that comes from the sync message is a shared channel

Impact

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/mattermost/mattermost/server/v8>= 9.5.0, < 9.5.79.5.7

Affected products

VendorProductAffected versions
MattermostMattermost
from 9.5.0 before 9.5.7
from 9.7.0 before 9.7.6
from 9.8.0 before 9.8.2
Version 9.9.0

Weakness classification

References