ADVISORIES

GitHub Advisory Database

GHSA-5gmf-x7hg-97wf

Mattermost doesn't filter nil elements from outgoing webhook attachment payloads before processing

Details

Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to filter nil elements from outgoing webhook attachment payloads before processing, which allows an authenticated user to cause a denial of service (server process termination) via a crafted webhook callback response containing a null attachment entry. Mattermost Advisory ID: MMSA-2026-00641

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 11.6.0 before 11.6.1 (fixed in 11.6.1)
Gogithub.com/mattermost/mattermost-server
From 11.5.0 before 11.5.4 (fixed in 11.5.4)
Gogithub.com/mattermost/mattermost-server
From 11.4.0 before 11.4.5 (fixed in 11.4.5)
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.15 (fixed in 10.11.15)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20260407102538-faa7d75b4ea0 (fixed in 8.0.0-20260407102538-faa7d75b4ea0)

References