CVE-2022-39356
NixOS vulnerability analysis and mitigation

Overview

Discourse, a platform for community discussions, was found to contain a vulnerability (CVE-2022-39356) related to invitation link validation. The vulnerability was discovered and disclosed on November 1, 2022, affecting Discourse versions stable <= 2.8.9, beta <= 2.9.0.beta9, and tests-passed <= 2.9.0.beta9. The issue allowed users who received an invitation link not scoped to a single email address to potentially gain unauthorized access to non-admin user accounts (GitHub Advisory).

Technical details

The vulnerability was classified with a CVSS v3.1 score of 5.3 (Medium) and was categorized under CWE-285 (Improper Authorization). The security flaw specifically involved the email validation process for invitation links, where links that were not restricted to specific email addresses could be exploited (NVD Database, GitHub Advisory).

Impact

The vulnerability could lead to unauthorized access to existing non-administrator accounts on Discourse platforms. By default, invitation links could only be generated by users with trust level 2 or above, but when exploited, the vulnerability allowed attackers to gain improper access to existing user accounts. Importantly, the vulnerability did not affect administrator accounts (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in versions stable >= 2.8.10, beta >= 2.9.0.beta10, and tests-passed >= 2.9.0.beta10. As part of the security measure, the fix automatically logged out any users who had previously logged in via an invite link, requiring them to re-authenticate. For those unable to update immediately, temporary workarounds included disabling invitations by setting SiteSetting.maxinvitesper_day = 0 or ensuring invitations were scoped to individual email addresses (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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

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