# GHSA-XMFH-3CCG-C9FX: Mattermost has an Incorrect Authorization issue

- Database: GitHub
- Severity: low (stated by ghsa, no CVSS score)
- Published: 2026-06-22
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-8823](https://cve.now/CVE-2026-8823.md): User Manager can demote bot accounts to guest without bot-management permission

## Also published as

- [GO-2026-6547](https://cve.now/GO-2026-6547.md) (Go)

## Affected versions

- github.com/mattermost/mattermost-server (Go): from 11.7.0, fixed in 11.7.1
- github.com/mattermost/mattermost-server (Go): from 10.11.0, fixed in 10.11.18
- github.com/mattermost/mattermost/server/v8 (Go): fixed in 8.0.0-20260518160100-9bd77d3fc4d2

## Description

Mattermost versions 11.7.x <= 11.7.0, 10.11.x <= 10.11.17 fail to validate bot targets when demoting users to guests which allows a lower-privileged administrator to degrade arbitrary bot accounts via the standard demote-user API.. Mattermost Advisory ID: MMSA-2026-00669

## References

- https://nvd.nist.gov/vuln/detail/CVE-2026-8823
- https://github.com/mattermost/mattermost/pull/36487
- https://github.com/mattermost/mattermost/commit/7972fc53f5c0b0175879a9737308a87b42db1f0b
- https://github.com/mattermost/mattermost/commit/9bd77d3fc4d2af3f7f0259a205174e76a1a276e1
- https://github.com/mattermost/mattermost/commit/c9bf3609fb9a3e5c2de94c50742c9b91fd723e3d
- https://github.com/mattermost/mattermost/commit/d9a55e394cd5bc15edb49e9606bec8fec03ac4c6
- https://docs.mattermost.com/security-guide/security-updates
- https://github.com/mattermost/mattermost
- https://github.com/mattermost/mattermost/releases/tag/v10.11.18
- https://github.com/mattermost/mattermost/releases/tag/v11.7.1

Page: https://cve.now/GHSA-XMFH-3CCG-C9FX

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
