What’s Vulnerable › Vulnerabilities
CVE-2024-40886: One-click Client-Side Path Traversal Leading to CSRF in User Management admin page
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-22 · updated 2026-06-17
- Weakness: CWE-352
Description
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 products
- Mattermost App Framework: from 9.5.0 before 9.5.8; from 9.8.0 before 9.8.3; from 9.9.0 before 9.9.2; from 9.10.0 before 9.10.1 — fixed in 9.10.1, 9.5.8, 9.8.3, 9.9.2
How to fix
Upgrade to a fixed version: Mattermost App Framework 9.10.1, 9.5.8, 9.8.3, 9.9.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-40886 or the next vulnerability affects your stack