# CVE-2024-4183: Mattermost fails to limit the number of active sessions

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.61%, higher than 50% of CVEs (2026-12-02)
- Published: 2024-04-26T08:25:47.088Z
- Modified: 2026-06-17T08:01:17.200Z
- Also known as: GHSA-wj37-mpq9-xrcm, GO-2024-2798
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

Mattermost versions 8.1.x before 8.1.12, 9.6.x before 9.6.1, 9.5.x before 9.5.3, 9.4.x before 9.4.5 fail to limit the number of active sessions, which allows an authenticated attacker to crash the server via repeated requests to the getSessions API after flooding the sessions table.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 9.6.0 up to 8.1.10; from 9.5.0 up to 9.5.2; from 9.4.0 up to 9.4.4; from 8.1.0 up to 8.1.11; 9.6.0; -; 9.4.0; 8.1.0 (not affected: from 9.7.0 up to 8.1.11; 9.6.1; 9.5.3; 9.4.5; 8.1.12)
- github.com/mattermost/mattermost-server (Go): from 9.6.0-rc1 before 9.6.1; from 9.5.0 before 9.5.3; from 9.4.0 before 9.4.5; from 8.1.0 before 8.1.12; from 8.1.0+incompatible before 8.1.12+incompatible; from 9.4.0+incompatible before 9.4.5+incompatible; from 9.5.0+incompatible before 9.5.3+incompatible; from 9.6.0-rc1+incompatible before 9.6.1+incompatible
- mattermost mattermost_server: from 8.1.0 before 8.1.12; from 9.4.0 before 9.4.5; from 9.5.0 before 9.5.3; from 9.6.0 before 9.6.1

## Every score

- Mattermost: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4183> (advisory)
- <https://github.com/mattermost/mattermost/commit/86920d641760552c5aafa5e1d14c93bd30039bc4> (web)
- <https://github.com/mattermost/mattermost/commit/9d81eee979aee93374bff8ba6714d805e12ffb03> (web)
- <https://github.com/mattermost/mattermost/commit/b45c3dac4c160992a1ce757ade968e8f5ec506c1> (web)
- <https://github.com/mattermost/mattermost/commit/bc699e6789cf3ba1544235087897699aaa639e7d> (web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-wj37-mpq9-xrcm> (advisory)

## Sources

- CVE List: [CVE-2024-4183](https://www.cve.org/CVERecord?id=CVE-2024-4183), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-wj37-mpq9-xrcm](https://github.com/advisories/GHSA-wj37-mpq9-xrcm), CC-BY-4.0, modified 2025-05-12
- Go Vulnerability Database: [GO-2024-2798](https://pkg.go.dev/vuln/GO-2024-2798), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-4183](https://nvd.nist.gov/vuln/detail/CVE-2024-4183), Public domain, modified 2026-06-17

---

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