CVE-2024-40886: One-click Client-Side Path Traversal Leading to CSRF in User Management admin page

Published Aug 22, 2024
·
Updated

Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, 9.8.x <= 9.8.2 fail to sanitize user inputs in the frontend that are used for redirection which allows for a one-click client-side path traversal that is leading to CSRF in User Management page of the system console.

Affected Software

8 affected componentsFixes available
go/github.com/mattermost/mattermost/server/v8>=9.8.0<9.8.3
9.8.3
go/github.com/mattermost/mattermost/server/v8>=9.10.0<9.10.1
9.10.1
go/github.com/mattermost/mattermost/server/v8>=9.5.0<9.5.8
9.5.8
go/github.com/mattermost/mattermost/server/v8>=9.9.0<9.9.2
9.9.2
Mattermost Mattermost>=9.5.0<9.5.8
Mattermost Mattermost>=9.8.0<9.8.3
Mattermost Mattermost>=9.9.0<9.9.2
Mattermost Mattermost>=9.10.0<9.10.1

Remediation

Information

Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher.

Event History

Aug 22, 2024
CVE Published
via MITRE·06:32 AM
Data Sourced
via MITRE·06:32 AM
RemedyDescriptionSeverityWeakness
Advisory Published
via GitHub·09:30 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-40886?

CVE-2024-40886 has been classified as a medium severity vulnerability due to its potential for client-side path traversal leading to CSRF.

2

How do I fix CVE-2024-40886?

To address CVE-2024-40886, upgrade to Mattermost version 9.5.8, 9.8.3, 9.9.2, or 9.10.1.

3

Which versions of Mattermost are affected by CVE-2024-40886?

Mattermost versions 9.9.x up to 9.9.1, 9.5.x up to 9.5.7, 9.10.x up to 9.10.0, and 9.8.x up to 9.8.2 are affected by CVE-2024-40886.

4

What type of vulnerability is CVE-2024-40886?

CVE-2024-40886 is a client-side path traversal vulnerability that can lead to cross-site request forgery (CSRF).

5

What components are involved in CVE-2024-40886?

CVE-2024-40886 involves user input sanitization failures in the frontend of the Mattermost application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203