Mattermost Host Header Injection Vulnerability in Slash Commands

Vulnerability

A vulnerability exists in Mattermost versions 11.5.x through 11.5.1 and 10.11.x through 10.11.13, where the application fails to properly validate the Host header when generating response URLs for custom slash commands. This flaw allows an authenticated attacker to redirect the responses of slash commands to a server controlled by the attacker by spoofing the Host header.

Impact

Exploitation of this vulnerability could lead to unauthorized redirection of slash command responses to an attacker-controlled server.

Remediation

Users can upgrade to Mattermost versions 11.7.0 or 11.6.0 to address this vulnerability.

Added: May 18, 2026, 9:23 AM
Updated: May 18, 2026, 9:23 AM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
0.6
exploitability
5.2
remediation
7.7
relevance
8.7
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.