{"id":"CVE-2025-9079","published":"2025-09-19T19:22:00Z","modified":"2026-02-26T17:48:20Z","title":"Admin RCE via prepackaged plugins by way of misconfigured imports directory","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00642,"percentile":0.51719,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.34},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.8.0, <= 10.8.3",">= 10.5.0, <= 10.5.8",">= 9.11.0, <= 9.11.17",">= 10.10.0, <= 10.10.1",">= 10.9.0, <= 10.9.3"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.11.0","10.8.4","10.5.9","9.11.18","10.10.2","10.9.4"]}],"solutions":{"items":["Update Mattermost to versions 10.11.0, 10.8.4, 10.5.9, 9.11.18, 10.10.2, 10.9.4 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-09-20T03:55:43.937191Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.8.0, <10.8.4",">=10.5.0, <10.5.9",">=9.11.0, <9.11.18",">=10.10.0, <10.10.2",">=10.9.0, <10.9.4",">=9.11.0+incompatible, <9.11.18+incompatible",">=10.5.0+incompatible, <10.5.9+incompatible",">=10.8.0+incompatible, <10.8.4+incompatible",">=10.9.0+incompatible, <10.9.4+incompatible",">=10.10.0+incompatible, <10.10.2+incompatible"],"patched":["10.8.4","10.5.9","9.11.18","10.10.2","10.9.4","9.11.18+incompatible","10.5.9+incompatible","10.8.4+incompatible","10.9.4+incompatible","10.10.2+incompatible"],"from":["GHSA-qx3f-6vq3-8j8m","GO-2025-3977"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250707221302-a8fa77f107ef"],"patched":["8.0.0-20250707221302-a8fa77f107ef"],"from":["GHSA-qx3f-6vq3-8j8m","GO-2025-3977"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3977"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3977"],"provenance":"source"}],"summary":{"text":"The flaw is a path validation failure in Mattermost's import directory path configuration, which affects Mattermost 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. An attacker who holds an administrator account on a vulnerable instance, and who is able to get a malicious plugin uploaded, can use that path to place the plugin in the prepackaged plugins directory and execute arbitrary code, with the attack requiring high-complexity conditions and privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:20Z"},"euvd":{"id":"EUVD-2025-30242","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-6233","published":"2025-07-18","fixed":"8.0.0-20250529054450-d38c27f96fcf","kev":false},{"cve":"CVE-2025-6227","published":"2025-07-18","fixed":"8.0.0-20250612074655-8f8612c63783","kev":false},{"cve":"CVE-2025-36530","published":"2025-08-21","fixed":"8.0.0-20250619095651-9dd0b3943e55","kev":false,"link":{"from":"CVE-2025-36530","to":"CVE-2025-9079","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250619095651-9dd0b3943e55","toFixed":"8.0.0-20250707221302-a8fa77f107ef","daysApart":29}]}},{"cve":"CVE-2025-9079","published":"2025-09-19","fixed":"8.0.0-20250707221302-a8fa77f107ef","kev":false},{"cve":"CVE-2025-47870","published":"2025-08-21","fixed":"8.0.0-20250708065844-b38e2eccda18","kev":false},{"cve":"CVE-2025-8023","published":"2025-08-21","fixed":"8.0.0-20250708065844-b38e2eccda18","kev":false},{"cve":"CVE-2025-49222","published":"2025-08-21","fixed":"8.0.0-20250708173752-d6b35c41f0ae5","kev":false}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}