GitHub Advisoryadvisory · Go

GHSA-876j-jfqf-m7j7 Mattermost Server exposes OAuth personal access tokens to attackers

CRITICAL Published 2022-05-24 Modified 2025-12-05 Official page ↗
Aliases
CVE-2017-18884
Ecosystem
Go
Packages
github.com/mattermost/mattermost-server
Severity
Critical
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-269, CWE-863
Reviewed
2025-12-05

Affected packages

• Go github.com/mattermost/mattermost-server: < 4.1.2 → fixed in 4.1.2 • Go github.com/mattermost/mattermost-server: >= 4.2.0-rc1, < 4.2.1 → fixed in 4.2.1 • Go github.com/mattermost/mattermost-server: >= 4.3.0-rc1, < 4.3.0 → fixed in 4.3.0

Description

An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2. It allows attackers to gain privileges by using a registered OAuth application with personal access tokens.

Related

Alias · CVE (1)

  • CVE-2017-18884 An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2. vulnerability

Weakness · CWE (2)

  • CWE-269 Improper Privilege Management weakness
  • CWE-863 Incorrect Authorization weakness

References