Skip to content
OpenAdvisories
Critical CVE-2017-18884 EUVD-2017-9974GHSA-876j-jfqf-m7j7GO-2025-4197

Mattermost Server exposes OAuth personal access tokens to attackers

Published Jun 19, 2020 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20251209T172047-150000.1.127.1 SUSE-SU-2025:4395-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251209T172047-150000.1.127.1 SUSE-SU-2025:4395-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server < 4.1.2 4.1.2 GHSA-876j-jfqf-m7j7
Go github.com/mattermost/mattermost-server >= 4.2.0-rc1, < 4.2.1 4.2.1 GHSA-876j-jfqf-m7j7
Go github.com/mattermost/mattermost-server >= 4.3.0-rc1, < 4.3.0 4.3.0 GHSA-876j-jfqf-m7j7
Go github.com/mattermost/mattermost-server < 4.1.2+incompatible · >= 4.2.0-rc1+incompatible, < 4.2.1+incompatible · >= 4.3.0-rc1+incompatible, < 4.3.0+incompatible 4.1.2+incompatible, 4.2.1+incompatible, 4.3.0+incompatible GO-2025-4197

Advisories 2

References