{"id":"CVE-2026-3108","published":"2026-03-26T16:16:49Z","modified":"2026-03-27T03:55:41Z","title":"Terminal Escape Injection in mmctl Report Posts Command","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00318,"percentile":0.25181,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":5.04},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.2.0, <= 11.2.2",">= 10.11.0, <= 10.11.10",">= 11.4.0, <= 11.4.0",">= 11.3.0, <= 11.3.1"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.5.0","11.2.3","10.11.11","11.4.1","11.3.2"]}],"solutions":{"items":["Update Mattermost to versions 11.5.0, 11.2.3, 10.11.11, 11.4.1, 11.3.2 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-26T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=11.4.0-rc1, <11.4.1",">=11.3.0-rc1, <11.3.2",">=11.2.0-rc1, <11.2.3",">=10.11.0-rc1, <10.11.11",">=8.0.0-20260105080200-d27a2195068d, <8.0.0-20260217110922-b7d4a1f1f59b"],"patched":["11.4.1","11.3.2","11.2.3","10.11.11","8.0.0-20260217110922-b7d4a1f1f59b"],"from":["GHSA-3439-vqgj-2gcf","GO-2026-5067"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.11.0-rc1+incompatible, <10.11.11+incompatible",">=11.2.0-rc1+incompatible, <11.2.3+incompatible",">=11.3.0-rc1+incompatible, <11.3.2+incompatible",">=11.4.0-rc1+incompatible, <11.4.1+incompatible"],"patched":["10.11.11+incompatible","11.2.3+incompatible","11.3.2+incompatible","11.4.1+incompatible"],"from":["GO-2026-5067"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5067"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5067"],"provenance":"source"}],"summary":{"text":"Mattermost's mmctl command-line tool fails to sanitize user-controlled post content in its terminal output, letting crafted message content inject ANSI and OSC escape sequences into the administrator's terminal. An attacker who can post a crafted message needs the victim to have a low-privilege account and to interact with the output, typically by running mmctl against that content, and this can then be used to manipulate the screen, display fake prompts, or hijack the clipboard.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:05Z"},"euvd":{"id":"EUVD-2026-16234","exploited":false,"provenance":"source"}}