Admin RCE via prepackaged plugins by way of misconfigured imports directory
Published Sep 19, 2025
8.0
HIGHCVSS 3.1
EPSS 0.64%
Description
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
Affected products
-
- Version 10.10.0StatusaffectedConstraints<=10.10.1
- Version 10.5.0StatusaffectedConstraints<=10.5.8
- Version 10.8.0StatusaffectedConstraints<=10.8.3
- Version 10.9.0StatusaffectedConstraints<=10.9.3
- Version 9.11.0StatusaffectedConstraints<=9.11.17
- Version 10.10.2StatusunaffectedConstraints-
- Version 10.11.0StatusunaffectedConstraints-
- Version 10.5.9StatusunaffectedConstraints-
- Version 10.8.4StatusunaffectedConstraints-
- Version 10.9.4StatusunaffectedConstraints-
- Version 9.11.18StatusunaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mattermost | Mattermost | unaffected |
|
- ≥ 9.11.0 · < 9.11.18
- ≥ 10.5.0 · < 10.5.9
- ≥ 10.8.0 · < 10.8.4
- ≥ 10.9.0 · < 10.9.4
- ≥ 10.10.0 · < 10.10.2
No data.
No Red Hat product state for this CVE.
github.com/mattermost/mattermost/server/v8
Go
Introduced 0 Fixed 8.0.0-20250707221302-a8fa77f107efgithub.com/mattermost/mattermost-server/v5
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost-server/v6
Go
Introduced 0 Fixed not fixedgithub.com/mattermost/mattermost-server
Go
Introduced 9.11.0+incompatible Fixed 9.11.18+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.5.0+incompatible Fixed 10.5.9+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.8.0+incompatible Fixed 10.8.4+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.9.0+incompatible Fixed 10.9.4+incompatiblegithub.com/mattermost/mattermost-server
Go
Introduced 10.10.0+incompatible Fixed 10.10.2+incompatible
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | 0 | 8.0.0-20250707221302-a8fa77f107ef |
| Go | github.com/mattermost/mattermost-server/v5 | 0 | not fixed |
| Go | github.com/mattermost/mattermost-server/v6 | 0 | not fixed |
| Go | github.com/mattermost/mattermost-server | 9.11.0+incompatible | 9.11.18+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.5.0+incompatible | 10.5.9+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.8.0+incompatible | 10.8.4+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.9.0+incompatible | 10.9.4+incompatible |
| Go | github.com/mattermost/mattermost-server | 10.10.0+incompatible | 10.10.2+incompatible |
Remediation
Vendor solution
Update Mattermost to versions 10.11.0, 10.8.4, 10.5.9, 9.11.18, 10.10.2, 10.9.4 or higher.
References (11)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-30242 Advisory
- https://github.com/advisories/GHSA-qx3f-6vq3-8j8m Advisory
- https://github.com/mattermost/mattermost/commit/047a2c64071749367fe02d2162f6103a3d31a883
- https://github.com/mattermost/mattermost/commit/439464883aa16a329c23cd6274c4cca7e88e238f
- https://github.com/mattermost/mattermost/commit/4ff68eea0a3f3777032d31a1a82f4b1fb492a1ac
- https://github.com/mattermost/mattermost/commit/96665b9b98a17534fcd515982a2eb26950581e41
- https://github.com/mattermost/mattermost/commit/a8fa77f107efe83f09a779f8e67cbecf236b0032
- https://github.com/mattermost/mattermost/commit/b38e2eccda182212a8032539658723c7d87e0b7e
- https://mattermost.com/security-updates Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-9079
- https://pkg.go.dev/vuln/GO-2025-3977
Change history (0)
No recorded changes yet.