GHSA-4276-cm8c-788h

Suggest an improvement
Source
https://github.com/advisories/GHSA-4276-cm8c-788h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-4276-cm8c-788h/GHSA-4276-cm8c-788h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4276-cm8c-788h
Aliases
Published
2025-08-21T09:30:21Z
Modified
2025-08-29T20:57:09Z
Severity
  • 3.8 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Mattermost Fails to Properly Validate Team Role Modification
Details

Mattermost versions 10.5.x <= 10.5.8, 9.11.x <= 9.11.17 fail to properly validate authorization for team scheme role modifications which allows Team Admins to demote Team Members to Guests via the PUT /api/v4/teams/team-id/members/user-id/schemeRoles API endpoint.

Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-08-21T16:03:01Z",
    "nvd_published_at": "2025-08-21T08:15:30Z",
    "severity": "LOW"
}
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
10.5.0
Fixed
10.5.9

Database specific

last_known_affected_version_range
"<= 10.5.8"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-4276-cm8c-788h/GHSA-4276-cm8c-788h.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
9.11.0
Fixed
9.11.18

Database specific

last_known_affected_version_range
"<= 9.11.17"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-4276-cm8c-788h/GHSA-4276-cm8c-788h.json"
github.com/mattermost/mattermost/server/v8

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
8.0.0-20250721095846-c602a4a78e1f

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-4276-cm8c-788h/GHSA-4276-cm8c-788h.json"
github.com/mattermost/mattermost-server/v5

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
5.39.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-4276-cm8c-788h/GHSA-4276-cm8c-788h.json"
github.com/mattermost/mattermost-server/v6

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
6.7.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-4276-cm8c-788h/GHSA-4276-cm8c-788h.json"