{"id":"GO-2025-4187","summary":"Mattermost Server is vulnerable to Path Traversal when files are stored locally in github.com/mattermost/mattermost-server","details":"Mattermost Server is vulnerable to Path Traversal when files are stored locally 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 before v4.1.2-0.20171004201910-6be8113eb60c, from v4.2.0-rc1.0.20171004154238-fadd9514f6e7 before v4.2.1-0.20171004194140-6d3cb2ce07fc.","aliases":["CVE-2017-18876","GHSA-hjqh-j6rj-gh8q"],"modified":"2025-12-09T17:42:41.654181Z","published":"2025-12-08T21:31:36Z","database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2025-4187"},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hjqh-j6rj-gh8q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18876"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0"},{"type":"WEB","url":"https://mattermost.com/security-updates"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.3.0-rc1+incompatible"},{"fixed":"4.3.0+incompatible"}]}],"ecosystem_specific":{"custom_ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2-0.20171004201910-6be8113eb60c"},{"introduced":"4.2.0-rc1.0.20171004154238-fadd9514f6e7"},{"fixed":"4.2.1-0.20171004194140-6d3cb2ce07fc"}]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4187.json"}}],"schema_version":"1.7.3"}