{"id":"CVE-2026-3113","aliases":["CVE-2026-3113","GHSA-4765-v66x-rqx7","GO-2026-5112"],"related":[],"kind":"vulnerability","state":"published","title":"mmctl export download command doesn’t restrict permissions to created file to file owner","summary":"Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to set permissions on downloaded bulk export which allows other local users on the server to be able to read contents of the bulk export.. Mattermost Advisory ID: MMSA-2026-00593","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to set permissions on downloaded bulk export which allows other local users on the server to be able to read contents of the bulk export.. Mattermost Advisory ID: MMSA-2026-00593","source":"cvelist"},{"lang":"en","text":"Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to set permissions on downloaded bulk export which allows other local users on the server to be able to read contents of the bulk export. Mattermost Advisory ID: MMSA-2026-00593.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Mattermost doesn't set permissions on downloaded bulk export in github.com/mattermost/mattermost-server.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/mattermost/mattermost-server from v8.0.0-20260105080200-d27a2195068d before v8.0.0-20260217110922-b7d4a1f1f59b.","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 11.4.x &lt;= 11.4.0, 11.3.x &lt;= 11.3.1, 11.2.x &lt;= 11.2.3, 10.11.x &lt;= 10.11.11 fallan al establecer permisos en la exportación masiva descargada, lo que permite a otros usuarios locales en el servidor poder leer el contenido de la exportación masiva. ID de Aviso de Mattermost: MMSA-2026-00593","source":"nvd"}],"published":"2026-03-26T16:18:06.693Z","modified":"2026-06-25T18:56:17.809Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"type":"semver","introduced":"11.4.0","lastAffected":"11.4.0","status":"affected"},{"type":"semver","introduced":"11.3.0","lastAffected":"11.3.1","status":"affected"},{"type":"semver","introduced":"11.2.0","lastAffected":"11.2.3","status":"affected"},{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.11","status":"affected"},{"version":"11.5.0","status":"unaffected"},{"version":"11.4.1","status":"unaffected"},{"version":"11.3.2","status":"unaffected"},{"version":"11.2.4","status":"unaffected"},{"version":"10.11.12","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"11.4.0-rc1","status":"affected","fixed":"11.4.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.3.0-rc1","status":"affected","fixed":"11.3.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.2.0-rc1","status":"affected","fixed":"11.2.4"}],"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-rc1","status":"affected","fixed":"10.11.12"}],"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-20260105080200-d27a2195068d","status":"affected","fixed":"8.0.0-20260217110922-b7d4a1f1f59b"}],"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-rc1+incompatible","status":"affected","fixed":"10.11.12+incompatible"},{"type":"semver","introduced":"11.2.0-rc1+incompatible","status":"affected","fixed":"11.2.4+incompatible"},{"type":"semver","introduced":"11.3.0-rc1+incompatible","status":"affected","fixed":"11.3.2+incompatible"},{"type":"semver","introduced":"11.4.0-rc1+incompatible","status":"affected","fixed":"11.4.1+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"status":"affected","introduced":"10.11.0","fixed":"10.11.12"},{"status":"affected","introduced":"11.2.0","fixed":"11.2.4"},{"status":"affected","introduced":"11.3.0","fixed":"11.3.2"},{"status":"affected","version":"11.4.0"}],"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-3113","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4765-v66x-rqx7","tags":["advisory"],"sources":["go"]}],"credits":["winfunc"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-26T17:37:56.431Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-3113","url":"https://www.cve.org/CVERecord?id=CVE-2026-3113","licence":"CVE Terms of Use","modified":"2026-03-26T17:51:15.160Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4765-v66x-rqx7","url":"https://github.com/advisories/GHSA-4765-v66x-rqx7","licence":"CC-BY-4.0","modified":"2026-06-25T18:56:17.809Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5112","url":"https://pkg.go.dev/vuln/GO-2026-5112","licence":"CC-BY-4.0","modified":"2026-06-25T18:45:23.601Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-3113","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3113","licence":"Public domain","modified":"2026-06-17T10:43:04.013Z"}],"updatedAt":"2026-11-25T22:59:17.073Z","epss":{"score":0.00146,"percentile":0.04059,"date":"2026-12-02T12:00:21.000Z"}}