What’s Vulnerable › Vulnerabilities
CVE-2024-5270: SAML to email switch possible when email signin is disabled
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-26 · updated 2026-06-17
- Weakness: CWE-284
Description
Mattermost versions 9.5.x <= 9.5.3, 9.7.x <= 9.7.1, 9.6.x <= 9.6.1 and 8.1.x <= 8.1.12 fail to check if the email signup configuration option is enabled when a user requests to switch from SAML to Email. This allows the user to switch their authentication mail from SAML to email and possibly edit personal details that were otherwise non-editable and provided by the SAML provider.
Affected products
- Mattermost: from 8.1.0 before 8.1.13; from 9.5.0 before 9.5.4; from 9.6.0 before 9.6.2; from 9.7.0 before 9.7.2 — fixed in 8.1.13, 9.5.4, 9.6.2, 9.7.2
How to fix
Upgrade to a fixed version: Mattermost 8.1.13, 9.5.4, 9.6.2, 9.7.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-5270 or the next vulnerability affects your stack