CVE-2026-19076: Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token

Published Oct 16, 2026
·
Updated

Mattermost versions 11.10.x <= 11.10.0, 11.7.x <= 11.7.9, 11.9.x <= 11.9.1, 11.8.x <= 11.8.5 fail to reject OAuth application sessions in the account type switch endpoint, which allows an attacker with a valid OAuth bearer token for a target user to permanently take over that user's SSO-backed account by setting an attacker-controlled password and detaching the account from its identity provider via a crafted request to POST /api/v4/users/login/switch.. Mattermost Advisory ID: MMSA-2026-00758

Affected Software

1 affected component
Mattermost Mattermost<=11.10.0, <=11.7.9, <=11.9.1, <=11.8.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.11.0
  2. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.10.1
  3. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.7.10
  4. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.9.2
  5. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.8.6

Event History

Oct 16, 2026
CVE Published
via MITRE·07:11 AM
Data Sourced
via MITRE·07:11 AM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The attacker needs a valid OAuth bearer token for the target user. Exploitation also requires sending a crafted request to the account type switch endpoint, POST /api/v4/users/login/switch.

2

Which deployments are affected?

Affected versions are Mattermost 11.10.x through 11.10.0, 11.7.x through 11.7.9, 11.9.x through 11.9.1, and 11.8.x through 11.8.5. The issue concerns SSO-backed user accounts.

3

What is the impact if exploitation succeeds?

An attacker can set an attacker-controlled password and detach the target account from its identity provider. This can permanently take over the target user's SSO-backed account.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203