Skip to main content

Mattermost CVE-2026-3108

| EUVDEUVD-2026-16234 HIGH
Improper Neutralization of Escape, Meta, or Control Sequences (CWE-150)
2026-03-26 Mattermost GHSA-3439-vqgj-2gcf
8.0
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.0 HIGH
AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
EUVD ID Assigned
Mar 26, 2026 - 16:45 euvd
EUVD-2026-16234
Analysis Generated
Mar 26, 2026 - 16:45 vuln.today
CVE Published
Mar 26, 2026 - 16:16 nvd
HIGH 8.0

DescriptionCVE.org

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

AnalysisAI

Mattermost's mmctl command-line administration tool fails to sanitize ANSI and OSC escape sequences embedded in user-generated post content, enabling authenticated low-privilege attackers to inject malicious terminal control codes when administrators export or query messages. Exploitation allows screen manipulation, fake prompt injection, and clipboard hijacking against administrators running mmctl commands, potentially leading to secondary code execution if administrators are tricked into running injected commands. CISA SSVC framework indicates no current exploitation, non-automatable attack requiring high complexity and user interaction, but with total technical impact potential.

Technical ContextAI

This vulnerability affects the mmctl command-line tool within Mattermost server deployments (CPE: cpe:2.3:a:mattermost:mattermost). The root cause is CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences), where mmctl fails to strip or encode ANSI escape sequences (used for terminal formatting like colors and cursor positioning) and OSC (Operating System Command) sequences when rendering post content to administrator terminals. When mmctl retrieves message data containing attacker-crafted escape sequences, these codes are passed directly to the terminal emulator, which interprets them as legitimate control commands rather than display text. This allows attackers to manipulate the visual output of the terminal, insert fake command prompts that appear legitimate, or use OSC 52 sequences to read/write clipboard contents on certain terminal emulators.

RemediationAI

Upgrade to Mattermost versions beyond 11.4.0, 11.3.1, 11.2.2, or 10.11.10 respectively for each affected branch once patched releases become available per vendor advisory at https://mattermost.com/security-updates. Until patching is completed, administrators should exercise caution when using mmctl to query or export post content from channels accessible to untrusted users, avoid copying terminal output directly into clipboard or executing commands suggested by terminal prompts without verification, and consider using mmctl in isolated environments with output redirected to files for sanitized review. Organizations may implement wrapper scripts that filter ANSI/OSC sequences from mmctl output using tools like sed or ansi2txt before display. Review administrator workflows to minimize mmctl usage against user-generated content channels and restrict mmctl access to trusted operators only.

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2024-39777 CRITICAL
9.6 Aug 01

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invit

CVE-2020-26290 CRITICAL
9.6 Dec 28

Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2022-1002 MEDIUM POC
5.4 Mar 18

Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh

CVE-2023-2193 CRITICAL
9.1 Apr 20

Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse

CVE-2026-7387 HIGH
8.8 Jun 12

Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr

CVE-2026-3524 HIGH
8.8 Apr 06

Authorization bypass in Mattermost Plugin Legal Hold versions <=1.1.4 allows authenticated attackers to manipulate legal

Vendor StatusVendor

Debian

Bug #823556
mattermost-server
Release Status Fixed Version Urgency
open - -

Share

CVE-2026-3108 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy