{"id":"CVE-2025-20051","published":"2025-02-24T07:27:23Z","modified":"2025-02-24T11:20:04Z","title":"Arbitrary file read via block duplication in Mattermost Boards","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate input when patching and duplicating a board, which allows a user to read any arbitrary file on the system via duplicating a specially crafted block in Boards.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00611,"percentile":0.50196,"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":17.0,"factors":[{"name":"EPSS percentile","points":10.04},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.4.0, <= 10.4.1",">= 9.11.0, <= 9.11.7",">= 10.3.0, <= 10.3.2",">= 10.2.0, <= 10.2.2"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.5.0","10.4.2","9.11.8","10.3.3","10.2.3"]}],"solutions":{"items":["Update Mattermost to versions 10.5.0, 10.4.2, 9.11.8, 10.3.3, 10.2.3 or higher. Alternatively, update the Mattermost Boards plugin to v9.0.5 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-24T11:19:25.280356Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250122165010-4ed702ccff4e",">=9.11.0-rc1, <9.11.8",">=10.2.0-rc1, <10.2.3",">=10.3.0-rc1, <10.3.3",">=10.4.0-rc1, <10.4.2"],"patched":["8.0.0-20250122165010-4ed702ccff4e","9.11.8","10.2.3","10.3.3","10.4.2"],"from":["GHSA-v469-7wp6-7cvp","GO-2025-3483"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=9.11.0-rc1+incompatible, <9.11.8+incompatible",">=10.2.0-rc1+incompatible, <10.2.3+incompatible",">=10.3.0-rc1+incompatible, <10.3.3+incompatible",">=10.4.0-rc1+incompatible, <10.4.2+incompatible"],"patched":["9.11.8+incompatible","10.2.3+incompatible","10.3.3+incompatible","10.4.2+incompatible"],"from":["GO-2025-3483"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3483"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3483"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the Boards component of Mattermost (versions 10.4.x up to 10.4.1, 9.11.x up to 9.11.7, 10.3.x up to 10.3.2 and 10.2.x up to 10.2.2) lets board patching and duplication run without proper input validation. An authenticated user with low privileges and network access can exploit it without any user interaction by duplicating a specially crafted block in Boards to read arbitrary files on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:25Z"},"euvd":{"id":"EUVD-2025-4306","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2025-20051","children":[{"from":"CVE-2025-20051","to":"CVE-2025-9081","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/app/files.go"],"commits":["https://github.com/mattermost/mattermost-plugin-boards/commit/025ce8d363a054473bc002f43f602a4032d38c06","https://github.com/mattermost/mattermost-plugin-boards/commit/3f3e3becfe1d66db0d0f4fd235f04afd6e1ec40b"],"basis":"rarely changed file"}]},{"from":"CVE-2025-20051","to":"CVE-2026-2461","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/api/blocks.go"],"commits":["https://github.com/mattermost/mattermost-plugin-boards/commit/025ce8d363a054473bc002f43f602a4032d38c06","https://github.com/mattermost/mattermost-plugin-boards/commit/57c5be5b6ef59d02dd72e35094d1fae8ba6e9619"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-24866","published":"2025-04-10","fixed":"9.11.9+incompatible","kev":false,"link":{"from":"CVE-2025-20051","to":"CVE-2025-24866","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250122165010-4ed702ccff4e","toFixed":"8.0.0-20250204211032-f52e08754c49","daysApart":45}]}},{"cve":"CVE-2025-21088","published":"2025-01-15","fixed":"10.2.1+incompatible","kev":false},{"cve":"CVE-2025-22445","published":"2025-01-09","fixed":"10.3.0+incompatible","kev":false,"link":{"from":"CVE-2025-22445","to":"CVE-2025-20051","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"10.3.0+incompatible","toFixed":"10.3.3+incompatible","daysApart":46},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"10.3.0","toFixed":"10.3.3","daysApart":46}]}},{"cve":"CVE-2025-1412","published":"2025-02-24","fixed":"10.4.2+incompatible","kev":false,"link":{"from":"CVE-2025-1412","to":"CVE-2025-20051","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"9.11.7+incompatible","toFixed":"9.11.8+incompatible","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"9.11.7","toFixed":"9.11.8","daysApart":0}]}},{"cve":"CVE-2025-20051","published":"2025-02-24","fixed":"10.4.2+incompatible","kev":false},{"cve":"CVE-2025-24526","published":"2025-02-24","fixed":"10.4.2+incompatible","kev":false,"link":{"from":"CVE-2025-24526","to":"CVE-2025-20051","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-20250110161910-96195f1bd746","toFixed":"8.0.0-20250122165010-4ed702ccff4e","daysApart":0}]}},{"cve":"CVE-2025-25279","published":"2025-02-24","fixed":"10.4.2+incompatible","kev":false},{"cve":"CVE-2025-27933","published":"2025-03-21","fixed":"10.4.3+incompatible","kev":false}],"package":"Go:github.com/mattermost/mattermost-server"}}