CVE-2026-3108 in Mattermost Server
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 scre...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mattermost | Mattermost Server | 11.4.0 ≥ 10.11.0, < 10.11.11 ≥ 11.2.0, < 11.2.3 ≥ 11.3.0, < 11.3.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-3108 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-273472-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-03-26 |
| Last modified | 2026-03-30 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-150: CWE-150
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-150
CAPEC-81 Web Server Logs Tampering via CWE-150
CAPEC-93 Log Injection-Tampering-Forging via CWE-150
CAPEC-134 Email Injection via CWE-150
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
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 are vulnerable to an issue where user-controlled post content in the mmctl commands terminal output is not sanitized. This allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences, potentially leading to screen manipulation, fake prompts, and clipboard hijacking.
Attackers can craft messages containing ANSI and OSC escape sequences that, when processed by the mmctl command-line tool, can manipulate the terminal of an administrator. This can lead to unauthorized actions being performed under the guise of legitimate prompts, and sensitive information such as credentials being copied to the clipboard without the user's knowledge.
Questions
What is CVE-2026-3108?
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 are vulnerable to an issue where user-controlled post content in the mmctl commands terminal output is not sanitized. This allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences, potentially leading to screen manipulation, fake prompts, and clipboard hijacking.
What is the CVSS score for CVE-2026-3108?
CVE-2026-3108 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2026-3108 actively exploited?
No confirmed active exploitation of CVE-2026-3108 as of 2026-05-30.
How do I remediate CVE-2026-3108?
Priority: IMMEDIATE. Advisory: https://mattermost.com/security-updates PSIRT: [email protected]
What systems are affected by CVE-2026-3108?
CVE-2026-3108 affects Mattermost Mattermost Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mattermost","product":"Mattermost Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-03-30.