{"id":"CVE-2026-6961","published":"2026-06-12T15:56:17Z","modified":"2026-06-16T13:17:18Z","title":"CVE-2026-6961: Path traversal via unsanitized FileInfo.Name in Mattermost federation sync","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 Mattermost fails to sanitize FileInfo.Name received from federated peers during shared channel file sync, which allows an attacker who controls a federated server to write files to arbitrary locations within the target server's filestore via path traversal sequences in the filename field.. Mattermost Advisory ID: MMSA-2026-00661","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00305,"percentile":0.2392,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":4.78},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.6.0, <= 11.6.1",">= 11.5.0, <= 11.5.4",">= 10.11.0, <= 10.11.15",">= 10.11.0, <= 10.11.16"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.7.0","11.6.2","11.5.5","10.11.16","10.11.17"]}],"solutions":{"items":["Update Mattermost to versions 11.7.0, 11.6.2, 11.5.5, 10.11.16, 10.11.17 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-13T03:56:08.575775Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=11.6.0, <11.6.1",">=11.5.0, <11.5.5",">=10.11.0, <10.11.17",">=10.11.0+incompatible, <10.11.17+incompatible",">=11.5.0+incompatible, <11.5.5+incompatible",">=11.6.0+incompatible, <11.6.1+incompatible"],"patched":["11.6.1","11.5.5","10.11.17","10.11.17+incompatible","11.5.5+incompatible","11.6.1+incompatible"],"from":["GHSA-8qq9-cqj8-82w4","GO-2026-6281"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=8.0.0-20250731163400-5b955468ea1e, <8.0.0-20260423180926-c021eeaff8f0"],"patched":["8.0.0-20260423180926-c021eeaff8f0"],"from":["GHSA-8qq9-cqj8-82w4","GO-2026-6281"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6281"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6281"],"provenance":"source"}],"summary":{"text":"Mattermost fails to sanitize the FileInfo.Name value received from federated peers during shared channel file sync, which allows path traversal and lets files be written outside the intended directory. An attacker who controls a federated server can write files to arbitrary locations within the target server's filestore by including traversal sequences in the filename field, and this requires high privileges on the attacker's federated server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:41Z"},"euvd":{"id":"EUVD-2026-36504","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-4055","published":"2026-05-21","fixed":"8.0.0-20260320113102-f2b3d1c6a945","kev":false},{"cve":"CVE-2026-4915","published":"2026-05-25","fixed":"8.0.0-20260407102538-faa7d75b4ea0","kev":false},{"cve":"CVE-2026-5740","published":"2026-05-22","fixed":"8.0.0-20260410202636-17939826efa2","kev":false,"link":{"from":"CVE-2026-5740","to":"CVE-2026-6961","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260410202636-17939826efa2","toFixed":"8.0.0-20260423180926-c021eeaff8f0","daysApart":21}]}},{"cve":"CVE-2026-6961","published":"2026-06-12","fixed":"8.0.0-20260423180926-c021eeaff8f0","kev":false},{"cve":"CVE-2026-7184","published":"2026-06-12","fixed":"8.0.0-20260428142921-bd8fc9222672","kev":false,"link":{"from":"CVE-2026-6961","to":"CVE-2026-7184","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260423180926-c021eeaff8f0","toFixed":"8.0.0-20260428142921-bd8fc9222672","daysApart":0}]}},{"cve":"CVE-2026-6046","published":"2026-06-12","fixed":"8.0.0-20260428151657-c79c3831061a","kev":false},{"cve":"CVE-2026-6739","published":"2026-06-12","fixed":"8.0.0-20260501142004-99b73d4c4acf","kev":false}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}