{"id":"CVE-2025-6233","published":"2025-07-18T09:09:22Z","modified":"2025-07-18T12:30:35Z","title":"Arbitrary file read by system admin via path traversal","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00446,"percentile":0.39664,"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":12.7,"factors":[{"name":"EPSS percentile","points":7.93},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.8.0, <= 10.8.1",">= 10.7.0, <= 10.7.3",">= 10.5.0, <= 10.5.7",">= 9.11.0, <= 9.11.16"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.9.0","10.8.2","10.7.4","10.5.8","9.11.17"]}],"solutions":{"items":["Update Mattermost to versions 10.9.0, 10.8.2, 10.7.4, 10.5.8, 9.11.17 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-18T11:37:41.545711Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.8.0, <10.8.2",">=10.7.0, <10.7.4",">=10.5.0, <10.5.8",">=9.11.0, <9.11.17",">=9.11.0+incompatible, <9.11.17+incompatible",">=10.5.0+incompatible, <10.5.8+incompatible",">=10.7.0+incompatible, <10.7.4+incompatible",">=10.8.0+incompatible, <10.8.2+incompatible"],"patched":["10.8.2","10.7.4","10.5.8","9.11.17","9.11.17+incompatible","10.5.8+incompatible","10.7.4+incompatible","10.8.2+incompatible"],"from":["GHSA-wvw2-3jh4-4c39","GO-2025-3820"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250529054450-d38c27f96fcf"],"patched":["8.0.0-20250529054450-d38c27f96fcf"],"from":["GHSA-wvw2-3jh4-4c39","GO-2025-3820"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3820"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3820"],"provenance":"source"}],"summary":{"text":"Mattermost fails to sanitise file attachment paths in its bulk import JSONL processing, leaving the flaw in the server's bulk import functionality across the affected 10.8.x, 10.7.x, 10.5.x and 9.11.x release lines. An attacker who holds system administrator privileges on the network-reachable server can use path traversal in a crafted bulk import file to read arbitrary files from the underlying system, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:42Z"},"euvd":{"id":"EUVD-2025-21866","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-6227","published":"2025-07-18","fixed":"10.5.8+incompatible","kev":false,"link":{"from":"CVE-2025-6233","to":"CVE-2025-6227","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-20250529054450-d38c27f96fcf","toFixed":"8.0.0-20250612074655-8f8612c63783","daysApart":0}]}},{"cve":"CVE-2025-47871","published":"2025-06-30","fixed":"10.8.1+incompatible","kev":false},{"cve":"CVE-2025-4981","published":"2025-06-20","fixed":"10.8.1+incompatible","kev":false},{"cve":"CVE-2025-6226","published":"2025-07-18","fixed":"10.8.2+incompatible","kev":false,"link":{"from":"CVE-2025-6226","to":"CVE-2025-6233","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.5.7+incompatible","toFixed":"10.5.8","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250520130510-fa40a8c5d47f","toFixed":"8.0.0-20250529054450-d38c27f96fcf","daysApart":0}]}},{"cve":"CVE-2025-6233","published":"2025-07-18","fixed":"10.8.2+incompatible","kev":false},{"cve":"CVE-2025-36530","published":"2025-08-21","fixed":"10.9.2+incompatible","kev":false},{"cve":"CVE-2025-47870","published":"2025-08-21","fixed":"10.9.3+incompatible","kev":false},{"cve":"CVE-2025-8023","published":"2025-08-21","fixed":"10.9.3+incompatible","kev":false}],"package":"Go:github.com/mattermost/mattermost-server"}}