CVE-2024-22091: Mattermost fails to limit the size of a request path
Mattermost versions 8.1.x <= 8.1.10, 9.6.x <= 9.6.0, 9.5.x <= 9.5.2 and 8.1.x <= 8.1.11 fail to limit the size of a request path that includes user inputs which allows an attacker to cause excessive resource consumption, possibly leading to a DoS via sending large request paths
Published Apr 26, 2024 · Updated May 12, 2025
Affected packages
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 8.1.0, <= 8.1.11
- Fixed in
- 8.1.12
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 9.5.0, <= 9.5.2
- Fixed in
- 9.5.3
- Check
go list -m github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server
- Ecosystem
- Go
- Affected
- >= 9.6.0-rc1, <= 9.6.0
- Fixed in
- 9.6.1
- Check
go list -m github.com/mattermost/mattermost-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Mattermost versions 8.1.x <= 8.1.10, 9.6.x <= 9.6.0, 9.5.x <= 9.5.2 and 8.1.x <= 8.1.11 fail to limit the size of a request path that includes user inputs which allows an attacker to cause excessive resource consumption, possibly leading to a DoS via sending large request paths
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22091
- https://mattermost.com/security-updates
- https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627
- https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260
- https://github.com/mattermost/mattermost/commit/54478f2ccbc6c4f110706966adfe0db2c16a566c
- https://github.com/mattermost/mattermost/commit/f6d320017549ec66efb5fdd4bc10b66ab36abb70
- https://github.com/advisories/GHSA-p2wq-4ggp-45f3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-5139
Mattermost doesn't enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler
medium5.4Jun 22, 2026CVE-2026-6062
Mattermost doesn't validate channel ownership of an existing subscription before applying edits
medium6.4Jun 22, 2026CVE-2026-6673
Mattermost doesn't authenticate Atlassian Connect installed callbacks, allowing a remote unauthenticated attacker to inject a rogue sharedSecret
medium6.4Jun 22, 2026CVE-2026-8074
Mattermost doesn't enforce bot-specific permission checks on the user active status endpoint
low3.8Jun 22, 2026CVE-2026-8823
Mattermost has an Incorrect Authorization issue
low3.8Jun 22, 2026CVE-2026-9162
Mattermost doesn't invalidate cached authentication state for active WebSocket connections during global session revocation
medium4.3Jun 22, 2026
