# CVE-2024-5270: SAML to email switch possible when email signin is disabled

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-05-26T13:30:53.070Z
- Modified: 2026-06-17T08:15:34.957Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 9.5.0 up to 9.5.3; from 9.7.0 up to 9.7.1; from 9.6.0 up to 9.6.1; from 8.1.0 up to 8.1.12 (not affected: 9.8.0; 9.5.4; 9.7.2; 9.6.2; 8.1.13)
- mattermost mattermost_server: from 9.5.x up to 9.5.3; from 9.7.x up to 9.7.1; from 9.6.x up to 9.6.1; from 8.1.x up to 8.1.12; 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 (not affected: 9.8.0; 9.5.4; 9.7.2; 9.6.2; 8.1.13)

## References

- <https://mattermost.com/security-updates> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-5270](https://www.cve.org/CVERecord?id=CVE-2024-5270), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5270](https://nvd.nist.gov/vuln/detail/CVE-2024-5270), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5270 · Whole record: https://cve.day/CVE-2024-5270.json · Rebuilt by cve.day 2026-11-25T22:58:40.894Z
