{"id":"CVE-2026-6961","aliases":["CVE-2026-6961","GHSA-8qq9-cqj8-82w4","GO-2026-6281"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2026-6961: Path traversal via unsanitized FileInfo.Name in Mattermost federation sync","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"en","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 fail 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","format":"markdown","source":"ghsa"},{"lang":"en","text":"Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync in github.com/mattermost/mattermost-server","format":"markdown","source":"go"}],"published":"2026-06-12T15:56:17.364Z","modified":"2026-08-26T01:21:46.735Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L","score":7.6,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"11.6.0","lastAffected":"11.6.1","status":"affected"},{"type":"semver","introduced":"11.5.0","lastAffected":"11.5.4","status":"affected"},{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.15","status":"affected"},{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.16","status":"affected"},{"version":"11.7.0","status":"unaffected"},{"version":"11.6.2","status":"unaffected"},{"version":"11.5.5","status":"unaffected"},{"version":"10.11.16","status":"unaffected"},{"version":"10.11.17","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"11.6.0","status":"affected","fixed":"11.6.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.5.0","status":"affected","fixed":"11.5.5"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0","status":"affected","fixed":"10.11.17"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"8.0.0-20250731163400-5b955468ea1e","status":"affected","fixed":"8.0.0-20260423180926-c021eeaff8f0"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0+incompatible","status":"affected","fixed":"10.11.17+incompatible"},{"type":"semver","introduced":"11.5.0+incompatible","status":"affected","fixed":"11.5.5+incompatible"},{"type":"semver","introduced":"11.6.0+incompatible","status":"affected","fixed":"11.6.1+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"8.0.0-20250731163400-5b955468ea1e","status":"affected","fixed":"8.0.0-20260423180926-c021eeaff8f0"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"10.11.0","fixed":"10.11.17"},{"status":"affected","introduced":"11.5.0","fixed":"11.5.5"},{"status":"affected","introduced":"11.6.0","fixed":"11.6.2"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6961","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/36255","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/36253","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/36252","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/36251","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/36223","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/c896a63dc44c2f9c081a0a15bfddc4e6eb50e753","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/c021eeaff8f003034ab40f82c552cc26a710a8fd","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/a9f3868e1eee9ec61855cd7277f39937385efffd","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/a0056ed68d95f64d7c4586985e7b7f16b96b3bec","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/61d68d2d6ee81a5919597d91c736c502d7156859","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/releases/tag/v10.11.16","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/releases/tag/v11.5.5","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/releases/tag/v11.6.2","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/releases/tag/v11.7.0","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8qq9-cqj8-82w4","tags":["advisory"],"sources":["go"]}],"credits":["Hassan Mohammed"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-13T03:56:08.575Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6961","url":"https://www.cve.org/CVERecord?id=CVE-2026-6961","licence":"CVE Terms of Use","modified":"2026-06-16T13:17:18.192Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8qq9-cqj8-82w4","url":"https://github.com/advisories/GHSA-8qq9-cqj8-82w4","licence":"CC-BY-4.0","modified":"2026-08-26T01:21:46.735Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6281","url":"https://pkg.go.dev/vuln/GO-2026-6281","licence":"CC-BY-4.0","modified":"2026-08-26T01:21:40.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6961","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6961","licence":"Public domain","modified":"2026-06-18T14:40:29.493Z"}],"updatedAt":"2026-11-25T22:59:24.545Z","epss":{"score":0.00305,"percentile":0.25139,"date":"2026-12-01T12:00:22.000Z"}}