CVE-2022-46177
CVE-2022-46177 is a medium-severity vulnerability in Discourse with a CVSS 3.x base score of 5.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-613.
Key facts
- Severity: Medium (CVSS 3.x base score 5.7)
- EPSS exploit prediction: 1% (48th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-613
- Affected product: Discourse
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-46177?
- 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.
- How severe is CVE-2022-46177?
- CVE-2022-46177 has a CVSS 3.x base score of 5.7, rated medium severity. It is exploitable over network with high attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2022-46177 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (48th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-46177?
- CVE-2022-46177 primarily affects Discourse. In total, 206 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-46177?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-46177 published?
- CVE-2022-46177 was published on 2023-01-05 and last updated on 2026-06-17.
References
- https://github.com/discourse/discourse/commit/4bf306f0e3bf54a9ef9c5886bf1cfb85c20da570
- https://github.com/discourse/discourse/commit/83944213b2b2454af80d0407f60d67641b1f0b38
- https://github.com/discourse/discourse/security/advisories/GHSA-5www-jxvf-vrc3
Affected products (206)
- cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta1:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta2:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta3:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta4:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta5:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta6:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta6b:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta7:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.1.0:beta8:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta1:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta2:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta3:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta4:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta5:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta6:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta7:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta8:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.2.0:beta9:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta1:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta10:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta11:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta2:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta3:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta4:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta5:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta6:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta7:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta8:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.3.0:beta9:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta1:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta10:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta11:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta12:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta2:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta3:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta4:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta5:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta6:*:*:beta:*:*:*
- cpe:2.3:a:discourse:discourse:1.4.0:beta7:*:*:beta:*:*:*
More vulnerabilities in Discourse
- CVE-2021-41163 — Critical (CVSS 10.0): Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could…
- CVE-2025-53102 — Critical (CVSS 9.8): Discourse is an open-source community discussion platform. Prior to version 3.4.7 on the `stable` branch and version…
- CVE-2025-48877 — Critical (CVSS 9.8): Discourse is an open-source discussion platform. Prior to version 3.4.4 of the `stable` branch, version 3.5.0.beta5 of…
- CVE-2022-36066 — Critical (CVSS 9.1): Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to…
- CVE-2022-39356 — High (CVSS 8.9): Discourse is a platform for community discussion. Users who receive an invitation link that is not scoped to a single…
- CVE-2023-22468 — High (CVSS 8.8): Discourse is an open source platform for community discussion. Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta)…
All CVEs affecting Discourse →
Other CWE-613 (Insufficient Session Expiration) vulnerabilities
- CVE-2024-8888 — Critical (CVSS 10.0): An attacker with access to the network where CIRCUTOR Q-SMT is located in its firmware version 1.0.4, could steal the…
- CVE-2026-46455 — Critical (CVSS 9.8): Insufficient Session Expiration vulnerability in Apache Camel Keycloak Component. The camel-keycloak security helper…
- CVE-2026-21622 — Critical (CVSS 9.8): Insufficient Session Expiration vulnerability in hexpm hexpm/hexpm ('Elixir.Hexpm.Accounts.PasswordReset' module)…
- CVE-2025-59786 — Critical (CVSS 9.8): 2N Access Commander version 3.4.2 and prior improperly invalidates session tokens, allowing multiple session cookies to…
- CVE-2026-26342 — Critical (CVSS 9.8): Tattile Smart+, Vega, and Basic device families firmware versions 1.181.5 and prior implement an authentication token…
- CVE-2026-1435 — Critical (CVSS 9.8): Not properly invalidated session vulnerability in Graylog Web Interface, version 2.2.3, due to incorrect management of…
Browse all CWE-613 (Insufficient Session Expiration) vulnerabilities →