Skip to content
Heist/ feed
Back to feed
Medium

SAML to email switch possible when email signin is disabled

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-5270
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:45 UTC · Revision 1

Source evidence

SAML to email switch possible when email signin is disabled

core-osv · Original source

Published 26 May 2024, 13:30 UTC

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.

osv:CVE-2024-5270
Complete source record
{
  "id": "23d8723ef22fbffba6a416ebaa49904c0be7ee3800053de1941772f77e406331",
  "url": "https://osv.dev/vulnerability/CVE-2024-5270",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2024-5270",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-5270",
      "aliases": [
        "CVE-2024-5270"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "096c9ea12a2144f832e330e9a0f4d3862ca20b9f"
                },
                {
                  "fixed": "139d287d701e653852c04b7252691c5f69884d0a"
                },
                {
                  "introduced": "99d819d25d0b16b3faed901b1fe5c41de7655e9c"
                },
                {
                  "fixed": "e9726543acdeb2a6299f0afd5a0e8d727bab6dcf"
                },
                {
                  "introduced": "9fc0f464a376499ca5859944483f09a32370a85a"
                },
                {
                  "fixed": "6b6068b174ce63a6c6ee8026bd9bd3db15fe7f5b"
                },
                {
                  "introduced": "7a9257d35b66fc46a7ac682dc6b720857c630ee9"
                },
                {
                  "fixed": "6b9c604be70563ad1c1b9c35ddd343a4078a8464"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0"
                      },
                      {
                        "fixed": "8.1.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.5.0"
                      },
                      {
                        "fixed": "9.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.6.0"
                      },
                      {
                        "fixed": "9.6.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.7.0"
                      },
                      {
                        "fixed": "9.7.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v8.1.13-rc1",
            "v9.5.4-rc1",
            "v9.6.2-rc1",
            "v9.7.1",
            "v9.7.0-rc3",
            "v9.7.0",
            "@mattermost/types@9.7.0",
            "@mattermost/client@9.7.0",
            "v8.1.12",
            "v9.5.3",
            "v8.1.12-rc3",
            "v9.5.3-rc3",
            "v9.6.1-rc3",
            "v9.6.1",
            "v8.1.12-rc2",
            "v9.5.3-rc2",
            "v9.6.1-rc2",
            "v8.1.12-rc1",
            "v9.5.3-rc1",
            "v9.6.1-rc1",
            "v8.1.11-rc1",
            "v8.1.11",
            "v9.5.2",
            "v9.6.0-rc3",
            "v9.6.0",
            "@mattermost/types@9.6.0",
            "@mattermost/client@9.6.0",
            "v8.1.10-rc1",
            "v8.1.10",
            "v9.5.1-rc1",
            "v9.5.1",
            "v9.5.0-rc3",
            "v9.5.0",
            "@mattermost/types@9.5.0",
            "@mattermost/client@9.5.0",
            "v8.1.9",
            "v8.1.9-rc2",
            "v8.1.9-rc1",
            "v8.1.8",
            "v8.1.8-rc2",
            "v8.1.8-rc1",
            "v8.1.7-rc3",
            "v8.1.7",
            "v8.1.7-rc2",
            "v8.1.7-rc1",
            "v8.1.6-rc1",
            "v8.1.6",
            "v8.1.5-rc2",
            "v8.1.5",
            "v8.1.5-rc1",
            "v8.1.4-rc2",
            "v8.1.4",
            "v8.1.4-rc1",
            "v8.1.3-rc2",
            "v8.1.3",
            "v8.1.3-rc1",
            "v8.1.2-rc2",
            "v8.1.2",
            "v8.1.2-rc1",
            "v8.1.1-rc2",
            "v8.1.1",
            "@mattermost/types@8.1.1",
            "@mattermost/client@8.1.1",
            "v8.1.1-rc1",
            "v8.1.0-rc2",
            "v8.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5270.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.891800008Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5270.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-5270"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.5.0"
                  },
                  {
                    "last_affected": "9.5.3"
                  },
                  {
                    "introduced": "9.7.0"
                  },
                  {
                    "last_affected": "9.7.1"
                  },
                  {
                    "introduced": "9.6.0"
                  },
                  {
                    "last_affected": "9.6.1"
                  },
                  {
                    "introduced": "8.1.0"
                  },
                  {
                    "last_affected": "8.1.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5270.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-5270",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489304,
  "published_at": "2024-05-26T13:30:53.07+00:00"
}