CVE-2026-3108 — Vulnerability in mattermost/matter…server/v8
Mattermost allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.41%). Schedule for your next planned update.
Does your project use an affected github.com/mattermost/mattermost/server/v8 version?
Paste your go.sum to check it for CVE-2026-3108 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published March 26, 2026 (245 days ago).
- Last revised June 25, 2026 — 91 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost/server/v8@v11.4.1
go get github.com/mattermost/mattermost/server/v8@v11.2.3
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260217110922-b7d4a1f1f59b
go get github.com/mattermost/mattermost/server/v8@v11.3.2
go get github.com/mattermost/mattermost/server/v8@v10.11.11
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/mattermost/mattermost/server/v8 Go · Affected: All versions | 11.4.1 |
| github.com/mattermost/mattermost/server/v8 Go · Affected: All versions | 11.2.3 |
| github.com/mattermost/mattermost/server/v8 Go · Affected: All versions | 8.0.0-20260217110922-b7d4a1f1f59b |
| github.com/mattermost/mattermost/server/v8 Go · Affected: All versions | 11.3.2 |
| github.com/mattermost/mattermost/server/v8 Go · Affected: All versions | 10.11.11 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-150
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-3108?
- Mattermost allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.0/10).
- How do I check if my project is affected by CVE-2026-3108?
- CVE-2026-3108 affects github.com/mattermost/mattermost/server/v8. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-3108 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 26.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-12419CRITICAL
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication
- CVE-2025-25279CRITICAL
Mattermost allows reading arbitrary files related to importing boards
- CVE-2024-39274CRITICAL
Mattermost failed to properly validate that the channel that comes from the sync message is a shared channel
- CVE-2026-7387HIGH
Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints
- CVE-2025-58073HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-6961HIGH
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
- CVE-2026-6346HIGH
Mattermost doesn't sanitize sensitive configuration fields before including them in support packet generation
- CVE-2026-24458HIGH
Mattermost fails to properly handle very long passwords