Live threats

All CVEs / Mattermost

CVE-2017-18894Mattermost Server

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
Yes
Published
Jun 19, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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. Sometimes. resource-owner authorization is bypassed, allowing account takeover.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server < 4.0.5 4.0.5 go get github.com/mattermost/mattermost-server@v4.0.5
Go github.com/mattermost/mattermost-server ≥ 4.1.0 < 4.1.1 4.1.1 go get github.com/mattermost/mattermost-server@v4.1.1
Go github.com/mattermost/mattermost-server ≥ 4.2.0-rc1 < 4.2.0 4.2.0 go get github.com/mattermost/mattermost-server@v4.2.0
Go github.com/mattermost/mattermost-server < 4.0.5+incompatible 4.0.5+incompatible go get github.com/mattermost/mattermost-server@v4.0.5+incompatible
Go github.com/mattermost/mattermost-server ≥ 4.1.0+incompatible < 4.1.1+incompatible 4.1.1+incompatible go get github.com/mattermost/mattermost-server@v4.1.1+incompatible
Go github.com/mattermost/mattermost-server ≥ 4.2.0-rc1+incompatible < 4.2.0+incompatible 4.2.0+incompatible go get github.com/mattermost/mattermost-server@v4.2.0+incompatible

Per OSV / GitHub Advisories (GHSA-gg42-mwr6-p82c, GO-2026-4297). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server< 4.0.5
mattermostmattermost_server≥ 4.1.0 < 4.1.1
mattermostmattermost_server4.2.0
mattermostmattermost_server4.2.0
mattermostmattermost_server4.2.0
mattermostmattermost_server4.2.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.