{"id":"CVE-2024-5270","aliases":["CVE-2024-5270"],"related":[],"kind":"vulnerability","state":"published","title":"SAML to email switch possible when email signin is disabled","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones de Mattermost 9.5.x &lt;= 9.5.3, 9.7.x &lt;= 9.7.1, 9.6.x &lt;= 9.6.1 y 8.1.x &lt;= 8.1.12 no verifican si la opción de configuración de registro de correo electrónico está habilitada cuando un el usuario solicita cambiar de SAML a correo electrónico. Esto permite al usuario cambiar su correo de autenticación de SAML a correo electrónico y posiblemente editar datos personales que de otro modo no serían editables y proporcionados por el proveedor de SAML.","source":"nvd"}],"published":"2024-05-26T13:30:53.070Z","modified":"2026-06-17T08:15:34.957Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"type":"semver","introduced":"9.5.0","lastAffected":"9.5.3","status":"affected"},{"type":"semver","introduced":"9.7.0","lastAffected":"9.7.1","status":"affected"},{"type":"semver","introduced":"9.6.0","lastAffected":"9.6.1","status":"affected"},{"type":"semver","introduced":"8.1.0","lastAffected":"8.1.12","status":"affected"},{"version":"9.8.0","status":"unaffected"},{"version":"9.5.4","status":"unaffected"},{"version":"9.7.2","status":"unaffected"},{"version":"9.6.2","status":"unaffected"},{"version":"8.1.13","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.5.x","lastAffected":"9.5.3","status":"affected"},{"type":"semver","introduced":"9.7.x","lastAffected":"9.7.1","status":"affected"},{"type":"semver","introduced":"9.6.x","lastAffected":"9.6.1","status":"affected"},{"type":"semver","introduced":"8.1.x","lastAffected":"8.1.12","status":"affected"},{"version":"9.8.0","status":"unaffected"},{"version":"9.5.4","status":"unaffected"},{"version":"9.7.2","status":"unaffected"},{"version":"9.6.2","status":"unaffected"},{"version":"8.1.13","status":"unaffected"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.1.0","fixed":"8.1.13"},{"status":"affected","introduced":"9.5.0","fixed":"9.5.4"},{"status":"affected","introduced":"9.6.0","fixed":"9.6.2"},{"status":"affected","introduced":"9.7.0","fixed":"9.7.2"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Grzegorz Misiun from ING"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T15:10:22.760Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5270","url":"https://www.cve.org/CVERecord?id=CVE-2024-5270","licence":"CVE Terms of Use","modified":"2024-08-01T21:11:12.407Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5270","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5270","licence":"Public domain","modified":"2026-06-17T08:15:34.957Z"}],"updatedAt":"2026-11-25T22:58:40.894Z","epss":{"score":0.00274,"percentile":0.21127,"date":"2026-12-01T12:00:22.000Z"}}