title: Unauthorized email invite to a private channel
description: When processing an email invite to a private channel on a team, Mattermost fails to validate the inviter's permission to that channel, allowing an attacker to invite themselves to a private channel.
problem types: CWE-862 Missing Authorization
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 7.7.1, status: affected, version: 0, versionType: semver
status: unaffected, version: 7.7.2
status: unaffected, version: 7.8.0
status: unaffected, version: 7.1.6
lessThanOrEqual: 7.1.5, status: affected, version: 0, versionType: semver
lessThan: 7.8.0, status: affected, version: 0, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.2
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost to version v7.8.0, v7.1.6, v7.7.2, or higher.