SecurityContext

CVE-2022-39356: Discourse - Authentication Bypass

  • Cve: CVE-2022-39356
  • Name: Discourse - Authentication Bypass
  • Description: 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.
  • Impact: Attackers can access other users' accounts, leading to unauthorized data access and potential account takeover.
  • Remediation: Upgrade to the latest version of Discourse. As a workaround, disable invitations with `SiteSetting.max_invites_per_day = 0` or scope invitations to individual email addresses.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00729
  • Epss percentile: 0.5517
  • Assignee: [email protected]
  • Published at: 2022-11-02T17:15:17Z
  • Age in days: 1483
  • Modified at: 2026-06-17T04:58:12Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-39356
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-285Improper Authorization
NVD-CWE-Other—

References

UrlSourceTags
https://github.com/discourse/discourse/pull/18817nvdPatch, Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-x8w7-rwmr-w278nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
discourse:discourse= 2.9.0 beta10, = 2.9.0 beta9, = 2.9.0 beta8, = 2.9.0 beta7, = 2.9.0 beta6, = 2.9.0 beta5, = 2.9.0 beta4, = 2.9.0 beta3, = 2.9.0 beta1, = 2.9.0 beta2, < 2.8.10nonvd/v1/products/discourse/discourse

Projects

RepositoryLink kindsIndexedUrl
discourse/discoursefix, pull, security_advisoryyes/v1/repositories/discourse/discourse

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 22639
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports