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).

Exploitability

The vulnerability requires an attacker to have access to a user's old email address and a valid password reset token. The attack complexity is considered high according to GitHub's assessment, requiring specific conditions to be met for successful exploitation (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-2026-78662HIGH7.5
  • Docker logoDocker
  • telegraf-1.38
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • flux-notification-controller
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-84640HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 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