CVE-2024-39777: Malicious remote can invite itself to an arbitrary local channel

CVE-2024-39777 affects 16 listed versions of Mattermost in the Dawnsentry catalogue.

9.6CVSS critical
None knownexploitation
under 1%EPSS (next 30 days)
1 August 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Mattermost

16 of 250 listed versions are affected. Fixed in 9.9.1, 9.8.2, 9.7.6, 9.5.7. The newest release, 12.1.0, is not affected.

9.9.0 9.8.1 9.8.0 9.7.5 9.7.4 9.7.3 9.7.2 9.7.1 9.7.0 9.5.6 9.5.5 9.5.4 9.5.3 9.5.2 9.5.1 9.5.0

What it is

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 disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N (NVD)

Published by Mattermost on 1 August 2024. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2024-39777 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.