mattermost/mattermost
Functions and files changed by CVE fixes in this repository.
Latest located fix
Overview
142 published CVEs have a fix traced to functions in mattermost/mattermost, the earliest published in 2020. Those fixes changed 1,248 distinct functions across 305 files, in 2,785 patch hunks.
Among the 11,752 repositories tracked here, mattermost/mattermost ranks #19 by the number of CVEs with a located fix.
Most patched functions
Functions in mattermost/mattermost changed by the most distinct patches.
- 1completeSamlserver/channels/web/saml.go9 patches · 7 CVEs2024 to 2025
- 2GetAuthorizationCodeapi/oauth.go6 patches · 4 CVEs2020
- 3completeOAuthserver/channels/web/oauth.go5 patches · 4 CVEs2024 to 2025
- 4AuthorizeOAuthUserserver/channels/app/oauth.go5 patches · 3 CVEs2025
- 5ConsumeOnceserver/channels/store/retrylayer/retrylayer.go5 patches · 3 CVEs2025
- 6ConsumeOnceserver/channels/store/timerlayer/timerlayer.go5 patches · 3 CVEs2025
- 7loginWithSamlserver/channels/web/saml.go5 patches · 3 CVEs2025
- 8ConvertUserToBotserver/channels/app/bot.go5 patches · 3 CVEs2025
- 9ServeHTTPapi/context.go5 patches · 3 CVEs2020
- 10ConsumeOnceserver/channels/store/sqlstore/tokens_store.go4 patches · 3 CVEs2025
- 11ConsumeTokenOnceserver/channels/app/user.go4 patches · 3 CVEs2025
- 12InitUserserver/channels/api4/user.go4 patches · 3 CVEs2024 to 2025
- 13DemoteUserToGuestserver/channels/app/user.go4 patches · 2 CVEs2024 to 2026
- 14getGroupMessageMembersCommonTeamsserver/channels/api4/channel.go4 patches · 2 CVEs2025
- 15UpdateTeamMemberSchemeRolesserver/channels/app/team.go4 patches · 2 CVEs2024
Most patched files
Files in mattermost/mattermost changed by the most CVE fixes.
- 1server/channels/api4/channel.go10 CVEs · 11 functions
- 2server/channels/api4/user.go10 CVEs · 9 functions
- 3server/channels/app/user.go9 CVEs · 8 functions
- 4api/user.go8 CVEs · 18 functions
- 5api/oauth.go8 CVEs · 11 functions
- 6server/channels/app/post.go8 CVEs · 8 functions
- 7server/channels/store/retrylayer/retrylayer.go8 CVEs · 7 functions
- 8server/channels/store/timerlayer/timerlayer.go8 CVEs · 7 functions
- 9server/channels/store/store.go8 CVEs · 5 functions
- 10server/channels/api4/post.go7 CVEs · 7 functions
Fix size
How much code a CVE fix in mattermost/mattermost changes, with backports counted once.
Latest CVEs
The most recently published CVEs with a fix located in mattermost/mattermost, and the functions each fix changed.
- Medium · CVSS 5.4EPSS 0.3%2026-06-26
- CVE-2026-8823DemoteUserToGuestLow · CVSS 3.8EPSS 0.3%2026-06-22
- High · CVSS 7.6EPSS 0.3%2026-06-12
- High · CVSS 8.8EPSS 0.3%2026-06-12
- CVE-2026-6046EnsureBotMedium · CVSS 5.3EPSS 0.2%2026-06-12
- Medium · CVSS 4.3EPSS 0.2%2026-06-12
- Medium · CVSS 6.5EPSS 0.3%2026-06-12
- High · CVSS 7.2EPSS 0.3%2026-06-12
- Medium · CVSS 4.3EPSS 0.2%2026-06-12
- Medium · CVSS 6.5EPSS 0.3%2026-05-25
- CVE-2026-5740readPumpHigh · CVSS 7.5EPSS 0.3%2026-05-22
- Medium · CVSS 5.0EPSS 0.1%2026-05-18
Get an alert for each new mattermost/mattermost CVE, with the patched functions and AI-written analysis.
Monitor these CVEsOther repositories
Repositories with a similar number of located CVE fixes.
Frequently asked questions
Common questions about CVE fixes in mattermost/mattermost.
- How many CVEs have a located fix in mattermost/mattermost?
- 142 published CVEs have a fix traced to functions in mattermost/mattermost, touching 1,248 functions across 305 files.
- Which function in mattermost/mattermost has been patched most often?
- completeSaml in server/channels/web/saml.go has been changed by 9 distinct patches, fixing 7 CVEs, from 2024 to 2025.
- How large is a typical CVE fix in mattermost/mattermost?
- The median fix changes 24 lines. 45% of fixes change 20 lines or fewer, and 32% change a single function.
- How is a fix located to a function?
- The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.
References
- mattermost/mattermost on GitHub (opens in a new tab)
- Patched functions directory
- CWE directory: the weakness types behind these fixes
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track mattermost/mattermost CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.