CVE-2024-5270

SAML to email switch possible when email signin is disabled

MEDIUM
4.3
CVSS Score
Published: May 26, 2024 at 01:30 PM UTC
Updated: June 17, 2026 at 08:15 AM UTC
2 products affected across 1 vendorMattermost ServerMattermost

Using Mattermost by Mattermost?

Get instant alerts when new vulnerabilities affect Mattermost - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

8.1.0 ≤ v < 8.1.138.1.x ≤ v ≤ 8.1.129.5.0 ≤ v < 9.5.49.5.x ≤ v ≤ 9.5.39.6.0 ≤ v < 9.6.29.6.x ≤ v ≤ 9.6.19.7.0 ≤ v < 9.7.29.7.x ≤ v ≤ 9.7.18.1.x9.5.x9.6.x9.7.x
Vendor states this is fixed in 8.1.13 (unaffected)
Vendor states this is fixed in 9.5.4 (unaffected)
Vendor states this is fixed in 9.6.2 (unaffected)
Vendor states this is fixed in 9.7.2 (unaffected)
Vendor states this is fixed in 9.8.0 (unaffected)
8.1.0 ≤ v ≤ 8.1.129.5.0 ≤ v ≤ 9.5.39.6.0 ≤ v ≤ 9.6.19.7.0 ≤ v ≤ 9.7.18.1.09.5.09.6.09.7.0
Vendor states this is fixed in 8.1.13 (unaffected)
Vendor states this is fixed in 9.5.4 (unaffected)
Vendor states this is fixed in 9.6.2 (unaffected)
Vendor states this is fixed in 9.7.2 (unaffected)
Vendor states this is fixed in 9.8.0 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.3MEDIUMMattermost
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-284

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card