CVE-2022-46177
NixOS vulnerability analysis and mitigation

Overview

Discourse, an open-source discussion platform, was affected by a vulnerability (CVE-2022-46177) prior to version 2.8.14 on the 'stable' branch and version 3.0.0.beta16 on the 'beta' and 'tests-passed' branches. The vulnerability was related to password reset functionality, where when a user requests a password reset link email and then changes their primary email, the old reset email would remain valid (GitHub Advisory).

Technical details

The vulnerability occurs in the password reset process where email tokens remain valid even after email changes. 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. The vulnerability received a CVSS v3.1 base score of 8.1 HIGH from NVD (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N) and 5.7 MEDIUM from GitHub (Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N). The vulnerability is classified under CWE-613 (Insufficient Session Expiration) (NVD).

Impact

If exploited, this vulnerability could lead to account takeover if the old email address is compromised or has transferred ownership. The impact is partially mitigated by the SiteSetting 'email_token_valid_hours' which defaults to 48 hours (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to versions 2.8.14 or 3.0.0.beta16 or later to receive the patch. As a temporary workaround, administrators can lower the 'email_token_valid_hours' setting as needed to reduce the window of vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management