Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  4. ›
  5. CVE-2017-18875

CVE-2017-18875: Mattermost Server does not prevent System Admin from arbitrary file creation

May 24, 2022 (updated December 4, 2025)

An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2 when local storage for files is used. A System Admin can create arbitrary files.

References

  • github.com/advisories/GHSA-9rr5-q43r-ccv4
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/6be8113eb60cf5ddd2dc1c3f4db05cae0c183086
  • github.com/mattermost/mattermost/commit/6d3cb2ce07fc799832081e93843b405b390057fa
  • github.com/mattermost/mattermost/commit/fadd9514f6e71590aba781a7035e1de4150137b0
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18875

Code Behaviors & Features

Detect and mitigate CVE-2017-18875 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.0-rc1 before 4.3.0

Fixed versions

  • 4.3.0

Solution

Upgrade to version 4.3.0 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/mattermost/mattermost-server/CVE-2017-18875.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 10 Dec 2025 12:19:51 +0000.