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

- Severity: Medium 4.6 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2024-08-22T06:32:11.786Z
- Modified: 2026-06-17T07:46:47.850Z
- Also known as: GHSA-hrf9-rm95-fpf3, GO-2024-3097
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 9.9.0 up to 9.9.1; from 9.5.0 up to 9.5.7; 9.10.0; from 9.8.0 up to 9.8.2; 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 (not affected: 9.11.0; 9.9.2; 9.5.8; 9.10.1; 9.8.3)
- github.com/mattermost/mattermost/server/v8 (Go): from 9.9.0 before 9.9.2; from 9.5.0 before 9.5.8; from 9.10.0 before 9.10.1; from 9.8.0 before 9.8.3; all versions
- github.com/mattermost/mattermost-server (Go): from 9.5.0+incompatible before 9.5.8+incompatible; from 9.8.0+incompatible before 9.8.3+incompatible; from 9.9.0+incompatible before 9.9.2+incompatible; from 9.10.0+incompatible before 9.10.1+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions

## Every score

- Mattermost: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-40886> (advisory)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-hrf9-rm95-fpf3> (advisory)

## Sources

- CVE List: [CVE-2024-40886](https://www.cve.org/CVERecord?id=CVE-2024-40886), CVE Terms of Use, modified 2024-08-22
- GitHub Advisory Database: [GHSA-hrf9-rm95-fpf3](https://github.com/advisories/GHSA-hrf9-rm95-fpf3), CC-BY-4.0, modified 2024-08-30
- Go Vulnerability Database: [GO-2024-3097](https://pkg.go.dev/vuln/GO-2024-3097), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-40886](https://nvd.nist.gov/vuln/detail/CVE-2024-40886), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40886 · Whole record: https://cve.day/CVE-2024-40886.json · Rebuilt by cve.day 2026-11-25T22:58:44.659Z
