CVE-2024-39830
Mattermost vulnerability analysis and mitigation

Overview

A timing attack vulnerability was identified in 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. The vulnerability exists when shared channels are enabled, where the system fails to implement constant time comparison for remote cluster tokens (NVD, CVE).

Technical details

The vulnerability is tracked as CVE-2024-39830 and has been assigned a CVSS v3.1 base score of 8.1 (HIGH) by Mattermost, Inc., with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The NVD has provided a different assessment with a CVSS score of 5.9 (MEDIUM) and vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. The vulnerability is classified under CWE-203 (Observable Discrepancy) and CWE-287 (Improper Authentication) (NVD).

Impact

The vulnerability allows an attacker to potentially retrieve the remote cluster token through timing attack methods during the token comparison process. This could lead to unauthorized access to cluster resources and compromise the security of shared channels (NVD).

Exploitability

The vulnerability requires network access and is exploitable through a timing attack mechanism. No user interaction is required for exploitation, though the attack complexity is considered high according to the CVSS metrics (NVD).

Mitigation and workarounds

Users should upgrade to the latest patched versions: 9.8.1, 9.7.5, 9.6.3, or 9.5.6, depending on their current version track (NVD).

Additional resources


SourceThis report was generated using AI

Related Mattermost vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-4981CRITICAL9.9
  • Mattermost logoMattermost
  • cpe:2.3:a:mattermost:mattermost
NoYesJun 20, 2025
CVE-2024-8071HIGH7.2
  • Mattermost logoMattermost
  • mattermost
NoYesAug 22, 2024
CVE-2026-24661MEDIUM6.5
  • Mattermost logoMattermost
  • mattermost
NoYesApr 09, 2026
CVE-2026-21388MEDIUM6.5
  • Mattermost logoMattermost
  • cpe:2.3:a:mattermost:mattermost
NoYesApr 09, 2026
CVE-2024-10214LOW3.5
  • Mattermost logoMattermost
  • mattermost-fips-10.7
NoYesOct 28, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management