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

CVE-2017-18894: Mattermost Server has intermittent Authorization bypass for resource-owners

May 24, 2022 (updated January 12, 2026)

An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5, when used as an OAuth 2.0 service provider. Resource-owner authorization can be intermittently bypassed, allowing account takeover.

References

  • github.com/advisories/GHSA-gg42-mwr6-p82c
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18894

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.5, all versions starting from 4.1.0 before 4.1.1, all versions starting from 4.2.0-rc1 before 4.2.0

Fixed versions

  • 4.0.5
  • 4.1.1
  • 4.2.0

Solution

Upgrade to versions 4.0.5, 4.1.1, 4.2.0 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:43 +0000.