Advisory

GO-2026-5838

Also known as: CVE-2026-5740, GHSA-w9m8-p4cc-4qj9

Summary

Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation in github.com/mattermost/mattermost-server

Details

Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation in github.com/mattermost/mattermost-server

Severity

Not rated by the source.

Dates

Published
2026-07-07 15:26 UTC
Modified
2026-07-07 16:01 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.11.0+incompatible, fixed 10.11.15+incompatible, introduced 11.4.0+incompatible, fixed 11.4.5+incompatible, introduced 11.5.0+incompatible, fixed 11.5.4+incompatible, introduced 11.6.0+incompatible, fixed 11.6.1+incompatible (semver)

Fixed versions

10.11.15+incompatible, 11.4.5+incompatible, 11.5.4+incompatible, 11.6.1+incompatible

Fix

  • Fixed version 10.11.15+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • Fixed version 11.4.5+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • Fixed version 11.5.4+incompatible
    go get github.com/mattermost/[email protected]+incompatible
  • Fixed version 11.6.1+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-20260410202636-17939826efa2 (semver)

Fixed versions

8.0.0-20260410202636-17939826efa2

Fix

  • Fixed version 8.0.0-20260410202636-17939826efa2
    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