CVE-2022-46177 in Discourse
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Discourse | Discourse | 2.9.0 3.0.0 < 2.8.14 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-46177 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-063014-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| Published | 2023-01-05 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-613: CWE-613
Analysis AI-written, not human-reviewed
CVE-2022-46177 affects Discourse versions prior to 2.8.14 on the stable branch and 3.0.0.beta16 on the beta and tests-passed branches. An attacker can use an old password reset link to reset the password and re-link the account's primary email.
An attacker can exploit this vulnerability by requesting a password reset link, changing the user's primary email, and then using the old reset link to reset the password. This allows the attacker to regain control of the account using the old email address.
Questions
What is CVE-2022-46177?
CVE-2022-46177 affects Discourse versions prior to 2.8.14 on the stable branch and 3.0.0.beta16 on the beta and tests-passed branches. An attacker can use an old password reset link to reset the password and re-link the account's primary email.
What is the CVSS score for CVE-2022-46177?
CVE-2022-46177 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N. EPSS: 0.9%.
Is CVE-2022-46177 actively exploited?
No confirmed active exploitation of CVE-2022-46177 as of 2026-05-30.
How do I remediate CVE-2022-46177?
Priority: HIGH.
What systems are affected by CVE-2022-46177?
CVE-2022-46177 affects Discourse Discourse.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Discourse","product":"Discourse","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.