CVE-2022-46177
published medium CVSS 3.1 · 5.7Discourse password reset link can lead to in account takeover if user changes to a new email
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse< 2.8.14 · >= 2.9.0.beta0, < 3.0.0.beta16 | Affected | Not stated | GitHub_M |
Description
Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 3.0.0.beta16 on the `beta` and `tests-passed` branches, when a user requests for a password reset link email, then changes their primary email, the old reset email is still valid. When the old reset email is used to reset the password, the Discourse account's primary email would be re-linked to the old email. If the old email address is compromised or has transferred ownership, this leads to an account takeover. This is however mitigated by the SiteSetting `email_token_valid_hours` which is currently 48 hours. Users should upgrade to versions 2.8.14 or 3.0.0.beta15 to receive a patch. As a workaround, lower `email_token_valid_hours ` as needed.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 2.8.14 (affected)>= 2.9.0.beta0, < 3.0.0.beta16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-613 CWE-613: Insufficient Session Expiration
References
3Provider assertions
3GitHub_M · cna
Discourse password reset link can lead to in account takeover if user changes to a new email
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1b90988cf51fab1f7f83a16ce31e1297ac07d90aadba472ef929d87868e51d40
- Ingested
- 23 Sep 2026, 08:03:28 UTC
- Source record
- Official CVE record