Advisory

GO-2026-5671

Also known as: CVE-2026-6333, GHSA-vqp5-2mrp-qqxg

Summary

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.

Severity

Not rated by the source.

Dates

Published
2026-06-25 22:34 UTC
Modified
2026-06-25 23:01 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.11.0+incompatible, fixed 10.11.14+incompatible, introduced 11.5.0+incompatible, fixed 11.5.2+incompatible (semver)

Fixed versions

10.11.14+incompatible, 11.5.2+incompatible

Fix

  • Fixed version 10.11.14+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • Fixed version 11.5.2+incompatible
    go get github.com/mattermost/[email protected]+incompatible

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20260325160634-e738016c5920 (semver)

Fixed versions

8.0.0-20260325160634-e738016c5920

Fix

  • Fixed version 8.0.0-20260325160634-e738016c5920
    go get github.com/mattermost/mattermost/server/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences