Advisory

GHSA-4276-cm8c-788h

Also known as: CVE-2025-53971, GO-2025-3902

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-08-21 09:30 UTC
Modified
2025-08-29 20:57 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.9 (semver)

Fixed versions

10.5.9

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.18 (semver)

Fixed versions

9.11.18

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250721095846-c602a4a78e1f (semver)

Fixed versions

8.0.0-20250721095846-c602a4a78e1f

Fix

  • Fixed version 8.0.0-20250721095846-c602a4a78e1f
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0, last affected 5.39.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 0, last affected 6.7.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences