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

CVE-2017-18918: Mattermost Server does not restrict SAML certificate path for System Administrators

May 24, 2022 (updated February 6, 2026)

An issue was discovered in Mattermost Server before 3.7.3 and 3.6.5. A System Administrator can place a SAML certificate at an arbitrary pathname.

References

  • github.com/advisories/GHSA-5ghq-28r7-qwfj
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/8ec37570742b67fd640bb3434ea226c655dbf408
  • github.com/mattermost/mattermost/commit/a12e7fdca439948ab097431d68e8f59778fbab81
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18918

Code Behaviors & Features

Detect and mitigate CVE-2017-18918 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 before 3.6.5, all versions starting from 3.7.0 before 3.7.3

Fixed versions

  • 3.6.5
  • 3.7.3

Solution

Upgrade to versions 3.6.5, 3.7.3 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-18918.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 07 Feb 2026 12:19:09 +0000.