{"id":"CVE-2024-32046","published":"2024-04-26T08:24:50Z","modified":"2024-08-02T02:06:42Z","title":"Detailed error discloses full file path with dev mode off","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 9.6.x <= 9.6.0, 9.5.x <= 9.5.2, 9.4.x <= 9.4.4 and 8.1.x <= 8.1.11 fail to remove detailed error messages in API requests even if the developer mode is off which allows an attacker to get information about the server such as the full path were files are stored\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00452,"percentile":0.40122,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":8.02},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.6.0",">= 9.5.0, <= 9.5.2",">= 9.4.0, <= 9.4.4",">= 8.1.0, <= 8.1.11"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["9.7.0","9.6.1","9.5.3","9.4.5","8.1.12"]}],"solutions":{"items":["Update Mattermost to versions 9.7.0, 9.6.1, 9.5.3, 9.4.5, 8.1.12 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-26T19:11:02.512965Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=8.1.0, <8.1.12",">=9.5.0, <9.5.3",">=9.6.0-rc1, <9.6.1",">=9.4.0, <9.4.5",">=8.1.0+incompatible, <8.1.12+incompatible",">=9.4.0+incompatible, <9.4.5+incompatible",">=9.5.0+incompatible, <9.5.3+incompatible",">=9.6.0-rc1+incompatible, <9.6.1+incompatible"],"patched":["8.1.12","9.5.3","9.6.1","9.4.5","8.1.12+incompatible","9.4.5+incompatible","9.5.3+incompatible","9.6.1+incompatible"],"from":["GHSA-vx97-8q8q-qgq5","GO-2024-2797"],"provenance":"source"}],"summary":{"text":"Mattermost's API layer, across several supported release lines, fails to strip detailed error messages from responses even when developer mode is disabled, so the flaw sits in how the server handles error output. An attacker with network access and low-privilege authentication can trigger these verbose errors to learn server details such as the full filesystem path where files are stored, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:59Z"},"euvd":{"id":"EUVD-2024-1313","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2023-5969","parents":[{"from":"CVE-2024-22091","to":"CVE-2024-32046","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/web/handlers.go","server/public/model/utils.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/2a48b5b3428cae494452125401e4f72780543ac8","https://github.com/mattermost/mattermost/commit/93738756ff79777c6e340c8de63a7b4b0f881d27"],"basis":"shared function","functions":["ServeHTTP"]}]}],"children":[{"from":"CVE-2024-32046","to":"CVE-2025-14822","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/public/model/utils.go"],"commits":["https://github.com/mattermost/mattermost/commit/2a48b5b3428cae494452125401e4f72780543ac8","https://github.com/mattermost/mattermost/commit/93738756ff79777c6e340c8de63a7b4b0f881d27","https://github.com/mattermost/mattermost/commit/4d86263f5430d0eb991fc52ec886cf778cb072e6","https://github.com/mattermost/mattermost/commit/b3d6c0c564c1a79e54e5105d0a8b60fc58a2bdee"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-2447","published":"2024-04-05","fixed":"9.5.2+incompatible","kev":false,"link":{"from":"CVE-2024-2447","to":"CVE-2024-32046","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"9.4.4+incompatible","toFixed":"9.4.5","daysApart":21}]}},{"cve":"CVE-2024-29221","published":"2024-04-05","fixed":"9.5.2+incompatible","kev":false},{"cve":"CVE-2024-4195","published":"2024-04-26","fixed":"9.5.3+incompatible","kev":false},{"cve":"CVE-2024-22091","published":"2024-04-26","fixed":"9.6.1+incompatible","kev":false},{"cve":"CVE-2024-32046","published":"2024-04-26","fixed":"9.6.1+incompatible","kev":false},{"cve":"CVE-2024-4182","published":"2024-04-26","fixed":"9.6.1+incompatible","kev":false},{"cve":"CVE-2024-4183","published":"2024-04-26","fixed":"9.6.1+incompatible","kev":false},{"cve":"CVE-2024-4198","published":"2024-04-26","fixed":"9.6.1+incompatible","kev":false}],"package":"Go:github.com/mattermost/mattermost-server"}}