Skip to main content

Mattermost Server CVE-2025-9079

HIGH
Path Traversal (CWE-22)
2025-09-19 responsibledisclosure@mattermost.com
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Mattermost admin credentials
  2. Delivery
    Set malicious import directory path
  3. Exploit
    Upload crafted plugin to prepackaged directory
  4. Execution
    Server loads unvalidated plugin
  5. Impact
    Execute arbitrary code as service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires Mattermost system-administrator privileges (PR:H) - the attacker must be able to modify the import directory path configuration and upload a plugin, which are admin-gated operations. The specific prerequisite is the ability to set an unvalidated import directory path and place a malicious plugin into the prepackaged plugins directory; the server then fails to validate that path and loads the plugin. Limiting factors: admin-level authentication is mandatory, no unauthenticated or low-privilege path exists, and no end-user interaction is involved. This confines realistic risk to malicious insiders, stolen/compromised admin sessions, or post-exploitation privilege chains rather than external opportunistic attackers.

Impact

This is a high-privilege, admin-only remote code execution flaw (CWE-22 path traversal) in Mattermost Server. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, base 7.2) is internally consistent: it requires high privileges (PR:H), matching the description's explicit requirement that the attacker be an admin user. Exploitation signals point AWAY from urgent, widespread risk: EPSS is only 0.03% (10th percentile), the CVE is NOT in CISA KEV, and no public POC was supplied - so exploitation is neither confirmed in the wild nor proven to have public tooling. The PR:H requirement is the dominant mitigating factor: an attacker must already hold Mattermost system-admin rights, at which point they typically already control the deployment's configuration surface. This is therefore best characterized as a privilege-boundary / defense-in-depth hardening fix (a malicious or compromised admin, or admin-credential theft, converting into host-level code execution) rather than an externally reachable unauthenticated RCE. Priority is moderate: patch in the normal cycle; it is not a high-CVSS-but-trivially-exploitable internet-facing emergency. No signals conflict - low EPSS, absent KEV, and the PR:H vector all agree that real-world mass exploitation is unlikely.

Exploit ScenarioDerived

An attacker who has obtained Mattermost system-administrator access (via credential theft, insider abuse, or a chained privilege escalation) abuses the unvalidated import directory path configuration to upload a malicious plugin into the prepackaged plugins directory, causing the server to load and execute attacker-controlled code with the privileges of the Mattermost service account. No public exploit code was identified at time of analysis, and the attack requires UI:N but PR:H (administrative) access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 19, 2026

Mattermost Server versions 10.8.x through 10.8.3, 10.5.x through 10.5.8, 9.11.x through 9.11.17, 10.10.x through 10.10.1, and 10.9.x through 10.9.3 contain a path-traversal weakness that lets an authenticated system administrator achieve remote code execution by configuring an unvalidated import directory path and uploading a malicious plugin to the prepackaged plugins directory. The attacker must already hold the high-privilege admin role, so the practical risk is concentrated in malicious insiders, compromised admin sessions, or post-exploitation chains rather than unauthenticated external attacks. At time of analysis, no public exploit identified at time of analysis, and EPSS is low at 0.03% (10th percentile); patch availability is confirmed per vendor advisory.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:13 CVSS 8.0

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.10.x <= 10.10.1, 10.9.x <= 10.9.3 fail to validate import directory path configuration which allows admin users to. Rated high severity (CVSS 8.0), this vulnerability is remotely exploitable. No vendor patch available.

RemediationAI

Apply the vendor patch by upgrading Mattermost Server beyond the affected ranges listed in the Mattermost security updates advisory (https://mattermost.com/security-updates); patch is available per vendor advisory, though an exact fixed version number is not provided in the available data. Until upgrade, restrict and audit system-administrator accounts, require MFA for admins, and remove unnecessary admin rights because exploitation requires PR:H; this reduces exposure from stolen or malicious admin sessions but does not fix the validation flaw. Review the configured import directory path and prepackaged plugins directory for unexpected changes or plugins, and if plugin uploads are not operationally required, disable or tightly control plugin management; directory review is detective and may miss transient abuse, while disabling plugin uploads can break legitimate integrations. Monitor admin audit logs for import-path changes and plugin uploads.

Affected Packages

go github.com/mattermost/mattermost-server fix: 9.11.18+incompatible, 9.11.18, 10.5.9+incompatible, 10.5.9, 10.8.4+incompatible, 10.8.4, 10.9.4+incompatible, 10.9.4, 10.10.2+incompatible, 10.10.2
go github.com/mattermost/mattermost-server/v5 no fix
go github.com/mattermost/mattermost-server/v6 no fix
go github.com/mattermost/mattermost/server/v8 fix: 8.0.0-20250707221302-a8fa77f107ef

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is CWE-22 improper limitation of a pathname to a restricted directory, arising in Mattermost Server's handling of the configured import directory path. The server does not validate that path before using it in a plugin-loading flow, so a system administrator (CVSS PR:H, AV:N/AC:L/UI:N) can point the import path at the prepackaged plugins directory and then place or upload a malicious plugin there; because the server subsequently loads plugins from that location, the attacker gains arbitrary code execution. Affected deployments are Mattermost Server releases in the 10.8.x, 10.5.x, 9.11.x, 10.10.x, and 10.9.x branches up to the listed patch ceilings, with CPE cpe:2.3:a:mattermost:mattermost_server. The requirement for system-administrator privileges and the absence of a low-privilege path limit opportunistic exploitation, but a compromised admin session or malicious insider can turn the configuration flaw into full server compromise.

Know when Mattermost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Admin-gated configuration abuse mandates PR:H; the action is performed remotely over the web admin interface (AV:N) with no special complexity (AC:L), yielding full host code execution (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Oct 19, 2026 - 16:38 vuln.today
v2 - CVSS changed
CVSS changed
Oct 19, 2026 - 16:23 NVD
8.0 (HIGH) 7.2 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Sep 19, 2025 - 20:15 nvd
HIGH 8.0

DescriptionNVD

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.10.x <= 10.10.1, 10.9.x <= 10.9.3 fail to validate import directory path configuration which allows admin users to execute arbitrary code via malicious plugin upload to prepackaged plugins directory

Executive ViewAI

Why It Matters

Mattermost Server’s affected releases expose a high-privilege path-traversal flaw that can let an administrator turn plugin and import configuration into remote code execution. Because exploitation requires an already-compromised or malicious administrator account, the main organizational exposure is insider risk, admin-session compromise, and post-incident escalation rather than broad external attack. Leadership should prioritize patching and tighten administrative access because a successful exploit could lead to server compromise and service or data impact.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Medium
popular open-source team chat, common in enterprises but not universal
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
CVE-2025-25279 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa

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-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp

CVE-2025-12421 CRITICAL
9.9 Nov 27

Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t

CVE-2025-12419 CRITICAL
9.9 Nov 27

Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

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-2025-24490 CRITICAL
9.6 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed

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