CVE-2024-40886 json
One-click Client-Side Path Traversal Leading to CSRF in User Management admin page
published 2024-08-22 2 y ago modified 2026-06-17 4 mo ago also GHSA-hrf9-rm95-fpf3 , GO-2024-3097 , EUVD-2024-2599
- cvss
- 4.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mattermost/mattermost/server/v8 9.5.8, 9.8.3, 9.9.2, 9.10.1
- go github.com/mattermost/mattermost-server 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible
- Mattermost Mattermost 9.5.8, 9.8.3, 9.9.2, 9.10.1, 9.11.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | >=9.9.0, <9.9.2 >=9.5.0, <9.5.8 >=9.10.0, <9.10.1 >=9.8.0, <9.8.3 all versions |
9.9.2 9.5.8 9.10.1 9.8.3 |
| go | github.com/mattermost/mattermost-server | >=9.5.0+incompatible, <9.5.8+incompatible >=9.8.0+incompatible, <9.8.3+incompatible >=9.9.0+incompatible, <9.9.2+incompatible >=9.10.0+incompatible, <9.10.1+incompatible |
9.5.8+incompatible 9.8.3+incompatible 9.9.2+incompatible 9.10.1+incompatible |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-40886
advisory
-
github.com
/mattermost/mattermost
package
-
github.com
/advisories/GHSA-hrf9-rm95-fpf3
advisory
Sources
- CVE List CVE-2024-40886
- GitHub Advisory GHSA-hrf9-rm95-fpf3
- NVD CVE-2024-40886
- OSV GO-2024-3097
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.