{"id":"CVE-2025-53971","published":"2025-08-21T07:31:01Z","modified":"2025-08-21T14:51:19Z","title":"Channel and Team Membership APIs inadvertently allow loss of Member privileges.","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.8,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00397,"percentile":0.25434,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":5.09},{"name":"CVSS severity","points":2.66}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.5.0, <= 10.5.8",">= 9.11.0, <= 9.11.17"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.10.0","10.5.9","9.11.18"]}],"solutions":{"items":["Update Mattermost to versions 10.10.0, 10.5.9, 9.11.18 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-21T14:51:10.911929Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=10.5.0, <10.5.9",">=9.11.0, <9.11.18",">=9.11.0+incompatible, <9.11.18+incompatible",">=10.5.0+incompatible, <10.5.9+incompatible"],"patched":["10.5.9","9.11.18","9.11.18+incompatible","10.5.9+incompatible"],"from":["GHSA-4276-cm8c-788h","GO-2025-3902"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20250721095846-c602a4a78e1f"],"patched":["8.0.0-20250721095846-c602a4a78e1f"],"from":["GHSA-4276-cm8c-788h","GO-2025-3902"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["<=5.39.3","all versions"],"patched":[],"from":["GHSA-4276-cm8c-788h","GO-2025-3902"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["<=6.7.2","all versions"],"patched":[],"from":["GHSA-4276-cm8c-788h","GO-2025-3902"],"provenance":"source"}],"summary":{"text":"The flaw is in Mattermost's team membership handling, where authorization for team scheme role modifications is not properly validated, allowing the Team Member role to be affected through the team and channel membership APIs. An attacker who holds the Team Admin role and is authenticated over the network can call the schemeRoles endpoint for a team member to demote that user to a Guest, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:33Z"},"euvd":{"id":"EUVD-2025-25413","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-8402","published":"2025-08-21","fixed":"8.0.0-20250708173752-d6b35c41f0ae5","kev":false},{"cve":"CVE-2025-9078","published":"2025-09-15","fixed":"8.0.0-20250718075842-cd87e5c87737","kev":false},{"cve":"CVE-2025-49810","published":"2025-08-21","fixed":"8.0.0-20250721095846-c602a4a78e1f","kev":false},{"cve":"CVE-2025-53971","published":"2025-08-21","fixed":"8.0.0-20250721095846-c602a4a78e1f","kev":false},{"cve":"CVE-2025-9081","published":"2025-09-19","fixed":"8.0.0-20250721095935-11c36f4d1e44","kev":false,"link":{"from":"CVE-2025-53971","to":"CVE-2025-9081","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250721095846-c602a4a78e1f","toFixed":"8.0.0-20250721095935-11c36f4d1e44","daysApart":29}]}},{"cve":"CVE-2026-3590","published":"2026-04-15","fixed":"8.0.0-20250723052842-4cb8d8940332","kev":false},{"cve":"CVE-2025-54499","published":"2025-10-16","fixed":"8.0.0-20250728063359-38208b8f065f","kev":false}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}