Shellfeed logo Shellfeed

CVE-2025-8023 · MEDIUM (CVSS 6.8)

Summary: Path Traversal in Template Upload Allows Uploading Files Outside Target Directory

Details

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fails to sanitize path traversal sequences in template file destination paths, which allows a system admin to perform path traversal attacks via malicious path components, potentially enabling malicious file placement outside intended directories.

Severity

MEDIUM (CVSS 6.8) — vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Affected packages

  • Go github.com/mattermost/mattermost-server [10.8.0 – 10.8.4]
  • Go github.com/mattermost/mattermost-server [10.5.0 – 10.5.9]
  • Go github.com/mattermost/mattermost-server [9.11.0 – 9.11.18]
  • Go github.com/mattermost/mattermost-server [10.9.0 – 10.9.3]
  • Go github.com/mattermost/mattermost/server/v8 [0 – 8.0.0-20250708065844-b38e2eccda18]
  • Go github.com/mattermost/mattermost-server/v5 [0 – 5.39.5]
  • Go github.com/mattermost/mattermost-server/v6 [0 – 6.7.2]
  • GIT github.com/mattermost/mattermost [0bc2ddd42375a75ab14e63f038165150d4f07659 – 11c36f4d1e44c36a85aa682becaa7519f63761cf] [58bd34fd34cbd7d3da777d627b6cffdf8a532930 – c602a4a78e1f60b9a97ee5bce509ecad4177340c] [bb105f3a2785636ad53b2d0bf4027900d41f6a67 – 6880f9b5908f20c6c4db1456d3a27603af01dd72] [14775836a78c8257de08fff229d364755346eff9 – b38e2eccda182212a8032539658723c7d87e0b7e]

References