LiveActive security incident?Get immediate response
CVE Record

CVE-2021-37693: Re-use of email tokens in Discourse

Discourse is an open-source platform for community discussion. In Discourse before versions 2.7.8 and 2.8.0.beta4, when adding additional email addresses to an existing account on a Discourse site an email token is generated as part of the email verification process. Deleting the additional email address does not invalidate an unused token which can then be used in other contexts, including reseting a password.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw let an unused email-verification token remain valid after a secondary email address was deleted. On affected Discourse sites, that leftover token could be accepted in other account flows, including password reset. The main business risk is unauthorized account takeover if an attacker can obtain or trigger use of such a token.

Executive priority

Treat this as a moderate account-security issue. It is not presented as actively exploited, but it affects identity flows and can expose confidential account data. Patch affected Discourse sites during the next security maintenance window, faster for public or privileged-user communities.

Technical view

Discourse before 2.7.8 and 2.8.0.beta4 failed to invalidate unused verification tokens when an additional email address was removed. The stale token could be reused outside the original email-verification context, including password reset. CVSS 3.1 is 5.3 with high confidentiality impact, high attack complexity, and required user interaction.

Likely exposure

Exposure is limited to Discourse instances running vulnerable versions, especially sites allowing users to add secondary email addresses. The bundle names discourse/discourse before 2.7.8, and the description also identifies 2.8.0.beta4 as the fixed beta line.

Exploitation context

The provided sources do not report active exploitation, and the CVE is not listed as KEV in the bundle. Practical abuse appears constrained by high attack complexity and required user interaction, but impact could include account compromise through password-reset misuse.

Researcher notes

Key weakness is token lifecycle control: removal of a secondary email did not invalidate a still-unused token, allowing cross-context reuse. Evidence is limited to the CVE description, GitHub advisory, and fixing commit; no exploit telemetry or broader affected product list is provided.

Mitigation direction

  • Upgrade Discourse to 2.7.8, 2.8.0.beta4, or a later vendor-supported release.
  • Review the GitHub security advisory and commit for vendor-confirmed remediation details.
  • Prioritize externally reachable community sites and administrator-heavy Discourse deployments.
  • Check vendor guidance before applying any token or account-cleanup workaround.

Validation and detection

  • Inventory all Discourse instances and confirm exact running versions.
  • Verify no production site remains below 2.7.8 or the fixed beta line.
  • Review account security logs for unusual secondary-email and password-reset activity.
  • Confirm the deployed code includes the vendor commit or a later maintained release.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-613: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-640: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-37693 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N1.63.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2021-37693Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
discoursediscourse< 2.7.8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-613 · source CWE mapping

Insufficient Session Expiration

Insufficient Session Expiration represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-640 · source CWE mapping

Weak Password Recovery Mechanism for Forgotten Password

Weak Password Recovery Mechanism for Forgotten Password represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.