{"id":"CVE-2025-53971","aliases":["CVE-2025-53971","GHSA-4276-cm8c-788h","GO-2025-3902"],"related":[],"kind":"vulnerability","state":"published","title":"Channel and Team Membership APIs inadvertently allow loss of Member privileges.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Mattermost Fails to Properly Validate Team Role Modification in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 10.5.x &lt;= 10.5.8, 9.11.x &lt;= 9.11.17 no pueden validar correctamente la autorización para las modificaciones de roles del esquema de equipo, lo que permite a los administradores de equipo degradar a los miembros del equipo a invitados a través del endpoint de API PUT /api/v4/teams/team-id/members/user-id/schemeRoles.","source":"nvd"}],"published":"2025-08-21T07:31:01.870Z","modified":"2026-06-17T09:39:12.823Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.8","status":"affected"},{"type":"semver","introduced":"9.11.0","lastAffected":"9.11.17","status":"affected"},{"version":"10.10.0","status":"unaffected"},{"version":"10.5.9","status":"unaffected"},{"version":"9.11.18","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.5.0","status":"affected","fixed":"10.5.9"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0","status":"affected","fixed":"9.11.18"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250721095846-c602a4a78e1f"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"5.39.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"6.7.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.11.0+incompatible","status":"affected","fixed":"9.11.18+incompatible"},{"type":"semver","introduced":"10.5.0+incompatible","status":"affected","fixed":"10.5.9+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250721095846-c602a4a78e1f"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"9.11.0","fixed":"9.11.18"},{"status":"affected","introduced":"10.5.0","fixed":"10.5.9"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53971","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3902","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4276-cm8c-788h","tags":["advisory"],"sources":["go"]}],"credits":["hackit_bharat"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-08-21T14:51:10.911Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-53971","url":"https://www.cve.org/CVERecord?id=CVE-2025-53971","licence":"CVE Terms of Use","modified":"2025-08-21T14:51:19.669Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4276-cm8c-788h","url":"https://github.com/advisories/GHSA-4276-cm8c-788h","licence":"CC-BY-4.0","modified":"2025-08-29T20:57:09.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3902","url":"https://pkg.go.dev/vuln/GO-2025-3902","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:51.532Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-53971","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53971","licence":"Public domain","modified":"2026-06-17T09:39:12.823Z"}],"updatedAt":"2026-11-25T22:59:03.463Z","epss":{"score":0.00238,"percentile":0.15926,"date":"2026-12-01T12:00:22.000Z"}}