ADVISORIES

Go Vulnerability Database

GO-2026-5671

Mattermost doesn't validate the Host header when constructing response URLs for custom slash command in github.com/mattermost/mattermost-server

Details

Mattermost doesn't validate the Host header when constructing response URLs for custom slash command in github.com/mattermost/mattermost-server.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/mattermost/mattermost-server/v5 before v5.3.2-0.20260325160634-e738016c5920.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.11.0+incompatible before 10.11.14+incompatible (fixed in 10.11.14+incompatible)
From 11.5.0+incompatible before 11.5.2+incompatible (fixed in 11.5.2+incompatible)
Gogithub.com/mattermost/mattermost-server/v5
All versions, no fix listed
Gogithub.com/mattermost/mattermost-server/v6
All versions, no fix listed
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20260325160634-e738016c5920 (fixed in 8.0.0-20260325160634-e738016c5920)

References