GHSA-gg42-mwr6-p82c

Suggest an improvement
Source
https://github.com/advisories/GHSA-gg42-mwr6-p82c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gg42-mwr6-p82c/GHSA-gg42-mwr6-p82c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gg42-mwr6-p82c
Aliases
Published
2022-05-24T17:21:05Z
Modified
2026-02-03T03:02:41Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Mattermost Server has intermittent Authorization bypass for resource-owners
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-639",
        "CWE-732"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-01-12T18:34:33Z",
    "nvd_published_at":  "2020-06-19T19:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

Go
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gg42-mwr6-p82c/GHSA-gg42-mwr6-p82c.json"
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
4.1.0
Fixed
4.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gg42-mwr6-p82c/GHSA-gg42-mwr6-p82c.json"
github.com/mattermost/mattermost-server

Package

Name
github.com/mattermost/mattermost-server
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost-server

Affected ranges

Type
SEMVER
Events
Introduced
4.2.0-rc1
Fixed
4.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gg42-mwr6-p82c/GHSA-gg42-mwr6-p82c.json"