# CVE-2024-39830: Timing attack during remote cluster token comparison when shared channels are enabled

- Severity: High 8.1 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2024-07-03T08:32:56.113Z
- Modified: 2026-06-17T07:42:52.953Z
- Weaknesses: CWE-203, CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Mattermost

## Description

Mattermost versions 9.8.x <= 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5, when shared channels are enabled, fail to use constant time comparison for remote cluster tokens which allows an attacker to retrieve the remote cluster token via a timing attack during remote cluster token comparison.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: 9.8.0; from 9.7.0 up to 9.7.4; from 9.6.0 up to 9.6.2; from 9.5.0 up to 9.5.5; from 9.5.0 before 9.5.6; from 9.6.0 before 9.6.3; from 9.7.0 before 9.7.5; from 9.8.0 before 9.8.1 (not affected: 9.9.0; 9.8.1; 9.7.5; 9.6.3; 9.5.6)

## Every score

- Mattermost: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-39830](https://www.cve.org/CVERecord?id=CVE-2024-39830), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-39830](https://nvd.nist.gov/vuln/detail/CVE-2024-39830), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39830 · Whole record: https://cve.day/CVE-2024-39830.json · Rebuilt by cve.day 2026-11-25T22:58:42.485Z
