Admin RCE via prepackaged plugins by way of misconfigured imports directory
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
- Published
- Sep 19, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.6% · 49th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.2
- CNA · Mattermost
- 8.0
- 0.8 point gap
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| mattermost | mattermost server | cpe:2.3:a:mattermost:mattermost_server |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- mattermost mattermost server9.11.0 and later · before 9.11.18
- mattermost mattermost server10.5.0 and later · before 10.5.9
- mattermost mattermost server10.8.0 and later · before 10.8.4
- mattermost mattermost server10.9.0 and later · before 10.9.4
- mattermost mattermost server10.10.0 and later · before 10.10.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Mattermost). Independent of NVD's CPE analysis and usually ahead of it.
Mattermost Mattermost
- 10.11.0, 10.8.4, 10.5.9, 9.11.18, 10.10.2, 10.9.4not affected
- 10.8.0 and later · up to and including 10.8.3affected · semver
- 10.5.0 and later · up to and including 10.5.8affected · semver
- 9.11.0 and later · up to and including 9.11.17affected · semver
- 10.10.0 and later · up to and including 10.10.1affected · semver
- 10.9.0 and later · up to and including 10.9.3affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | from 10.10.0 · before 10.10.2 | 10.10.2 |
| Go | github.com/mattermost/mattermost-server | from 10.10.0+incompatible · before 10.10.2+incompatible | 10.10.2+incompatible |
| Go | github.com/mattermost/mattermost-server | from 10.5.0 · before 10.5.9 | 10.5.9 |
| Go | github.com/mattermost/mattermost-server | from 10.5.0+incompatible · before 10.5.9+incompatible | 10.5.9+incompatible |
| Go | github.com/mattermost/mattermost-server | from 10.8.0 · before 10.8.4 | 10.8.4 |
| Go | github.com/mattermost/mattermost-server | from 10.8.0+incompatible · before 10.8.4+incompatible | 10.8.4+incompatible |
| Go | github.com/mattermost/mattermost-server | from 10.9.0 · before 10.9.4 | 10.9.4 |
| Go | github.com/mattermost/mattermost-server | from 10.9.0+incompatible · before 10.9.4+incompatible | 10.9.4+incompatible |
| Go | github.com/mattermost/mattermost-server | from 9.11.0 · before 9.11.18 | 9.11.18 |
| Go | github.com/mattermost/mattermost-server | from 9.11.0+incompatible · before 9.11.18+incompatible | 9.11.18+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 | all versions | — |
| Go | github.com/mattermost/mattermost-server/v6 | all versions | — |
| Go | github.com/mattermost/mattermost/server/v8 | before 8.0.0-20250707221302-a8fa77f107ef | 8.0.0-20250707221302-a8fa77f107ef |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20250924T192141-1.1 | 0.0.20250924T192141-1.1 |
Same product
mattermost: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-4858Path traversal in integration action URL leading to arbitrary API execution via system admin’s auth token.39Monitor
- CVE-2025-12421Account Takeover via Code Exchange Endpoint39Monitor
- CVE-2025-12419Account takeover on OAuth/OpenID-enabled servers39Monitor
- CVE-2025-4981Path Traversal Leading to RCE by Any Authenticated Mattermost User39Monitor
- CVE-2023-6458Client side path traversal due to lack of route parameters validation39Monitor
- CVE-2017-18920An issue was discovered in Mattermost Server before 3.6.2.39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Go:github.com/mattermost/mattermost-server | 10.10.2 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.10.2+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.5.9 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.5.9+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.8.4 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.8.4+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.9.4 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 10.9.4+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 9.11.18 | Package registry (OSV) |
| Go:github.com/mattermost/mattermost-server | 9.11.18+incompatible | Package registry (OSV) |
| Go:github.com/mattermost/mattermost/server/v8 | 8.0.0-20250707221302-a8fa77f107ef | Package registry (OSV) |
| opensuse:govulncheck-vulndb | 0.0.20250924T192141-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- daw10finder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-4858244 days apartPath traversal in integration action URL leading to arbitrary API execution via system admin’s auth token.39Monitor
- CVE-2025-25279207 days apartArbitrary file read in Mattermost Boards via import & export board archive37Monitor
- CVE-2026-6961266 days apartCVE-2026-6961: Path traversal via unsanitized FileInfo.Name in Mattermost federation sync30Monitor
- CVE-2025-20051207 days apartArbitrary file read via block duplication in Mattermost Boards26Monitor
- CVE-2026-7521312 days apartSAML certificate deletion allows path traversal to delete arbitrary files outside the config directory22Monitor
- CVE-2025-3653029 days apartImport Path Traversal Enables Unauthorized Unsigned Plugin Installation19Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
- CVE-2025-5507056 days apartLack of MFA enforcement in WebSocket connections30Monitor
- CVE-2025-5507356 days apartMS Teams plugin OAuth allows editing arbitrary posts21Monitor
- CVE-2025-1387074 days apartUnauthorized access and subscription vulnerability in Boards17Monitor
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- Administrator privileges are required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.