Advisory

GHSA-3vmp-whvv-5v9v

Also known as: CVE-2026-6046, GO-2026-6279

Summary

Mattermost doesn't validate that a username returned during bot registration belongs to a bot account

Details

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 fail to validate that a username returned during bot registration belongs to a bot account, which allows an unprivileged attacker to intercept private messages sent by plugins via direct message channels by pre-registering a user account with a predictable plugin bot username. Mattermost Advisory ID: MMSA-2026-00649

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-12 18:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.6.0, fixed 11.6.1 (semver)

Fixed versions

11.6.1

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.5.0, fixed 11.5.5 (semver)

Fixed versions

11.5.5

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.11.0, fixed 10.11.17 (semver)

Fixed versions

10.11.17

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.0.0-20250731163400-5b955468ea1e, fixed 8.0.0-20260428151657-c79c3831061a (semver)

Fixed versions

8.0.0-20260428151657-c79c3831061a

Fix

  • Fixed version 8.0.0-20260428151657-c79c3831061a
    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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences