ADVISORIES

GitHub Advisory Database

GHSA-vqp5-2mrp-qqxg

Mattermost doesn't validate the Host header when constructing response URLs for custom slash command

Details

Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13 fail to validate the Host header when constructing response URLs for custom slash commands which allows an authenticated attacker to redirect slash command responses to an attacker-controlled server via a spoofed Host header.. Mattermost Advisory ID: MMSA-2026-00582

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 11.5.0 before 11.5.2 (fixed in 11.5.2)
Gogithub.com/mattermost/mattermost/server/v8
From 10.11.0 before 10.11.14 (fixed in 10.11.14)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20260325160634-e738016c5920 (fixed in 8.0.0-20260325160634-e738016c5920)
Gogithub.com/mattermost/mattermost-server
All versions before 5.3.2-0.20260325160634-e738016c5920 (fixed in 5.3.2-0.20260325160634-e738016c5920)

References