Advisory

GHSA-3439-vqgj-2gcf

Also known as: CVE-2026-3108, GO-2026-5067

Summary

Mattermost allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences

Details

Mattermost versions 11.2.x <= 11.2.2, 10.11.x <= 10.11.10, 11.4.x <= 11.4.0, 11.3.x <= 11.3.1 fail to sanitize user-controlled post content in the mmctl commands terminal output which allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences that enable screen manipulation, fake prompts, and clipboard hijacking. Mattermost Advisory ID: MMSA-2026-00599.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-26 18:31 UTC
Modified
2026-06-25 18:56 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.4.0-rc1, fixed 11.4.1 (semver)

Fixed versions

11.4.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.3.0-rc1, fixed 11.3.2 (semver)

Fixed versions

11.3.2

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 11.2.0-rc1, fixed 11.2.3 (semver)

Fixed versions

11.2.3

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.11.0-rc1, fixed 10.11.11 (semver)

Fixed versions

10.11.11

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.0.0-20260105080200-d27a2195068d, fixed 8.0.0-20260217110922-b7d4a1f1f59b (semver)

Fixed versions

8.0.0-20260217110922-b7d4a1f1f59b

Fix

  • Fixed version 8.0.0-20260217110922-b7d4a1f1f59b
    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