Mattermost Server
CVE-2025-9079
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Mattermost admin credentials
-
DeliverySet malicious import directory path
-
ExploitUpload crafted plugin to prepackaged directory
-
ExecutionServer loads unvalidated plugin
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
More in Mattermost
View allMattermost 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
Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
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
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
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
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
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
Same weakness CWE-22 – Path Traversal
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB