Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.9
CVE-2022-39356: Discourse user account takeover via email and invite link
CVE-2022-39356 · published 4 years ago
Summary
Discourse is a platform for community discussion. Users who receive an invitation link that is not scoped to a single email address can enter any non-admin user's email and gain access to their account when accepting the invitation. All users should upgrade to the latest version. A workaround is tem...
What to do
- Update discourse discourse to version 2.8.10 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| discourse | discourse |
< 2.8.10 2.9.0 cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* |
Original advisory text
Discourse user account takeover via email and invite link
Discourse is a platform for community discussion. Users who receive an invitation link that is not scoped to a single email address can enter any non-admin user's email and gain access to their account when accepting the invitation. All users should upgrade to the latest version. A workaround is temporarily disabling invitations with `SiteSetting.max_invites_per_day = 0` or scope them to individual email addresses.
References
- https://github.com/discourse/discourse/security/advisories/GHSA-x8w7-rwmr-w278 Vendor Advisory
- https://github.com/discourse/discourse/pull/18817 Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39356... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-39356 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
8.9
High
Type
CWE-285Improper Authorization
Timeline
Published2 Nov 2022
Updated21 Nov 2026
First seen29 Sep 2026
Track software like this
Free during beta