CVE-2024-40886
Mattermost vulnerability analysis and mitigation

Overview

A Cross-Site Request Forgery (CSRF) vulnerability has been identified in Mattermost affecting versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, and 9.8.x <= 9.8.2. The vulnerability stems from a failure to properly sanitize user inputs in the frontend that are used for redirection, enabling a one-click client-side path traversal attack specifically targeting the User Management page of the system console (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) by NIST with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating network accessibility, low attack complexity, no privileges required, and user interaction required. However, Mattermost's own assessment assigns a medium severity score of 4.6 with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L. The vulnerability is classified under CWE-352 (Cross-Site Request Forgery) (NVD).

Impact

The vulnerability could potentially allow attackers to perform unauthorized actions in the User Management section of the system console through CSRF attacks, affecting the confidentiality, integrity, and availability of the system as indicated by the high CVSS ratings for these impact metrics (NVD).

Mitigation and workarounds

Users are advised to upgrade to the latest patched versions: beyond 9.5.8 for the 9.5.x series, beyond 9.8.3 for the 9.8.x series, beyond 9.9.2 for the 9.9.x series, and beyond 9.10.1 for the 9.10.x series (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
  • MattermostMattermost
  • cpe:2.3:a:mattermost:mattermost
NoYesJun 20, 2025
CVE-2024-8071HIGH7.2
  • MattermostMattermost
  • github.com/mattermost/mattermost
NoYesAug 22, 2024
CVE-2024-42411MEDIUM5.3
  • MattermostMattermost
  • mattermost
NoYesAug 22, 2024
CVE-2024-43813MEDIUM4.3
  • MattermostMattermost
  • mattermost
NoYesAug 22, 2024
CVE-2024-10214LOW3.5
  • MattermostMattermost
  • github.com/mattermost/mattermost
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