LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31096: Invites restricted to an email or invite links restricted to an email domain may be bypassed by a under certain conditions in Discourse

Discourse is an open source discussion platform. Under certain conditions, a logged in user can redeem an invite with an email that either doesn't match the invite's email or does not adhere to the email domain restriction of an invite link. The impact of this flaw is aggravated when the invite has been configured to add the user that accepts the invite into restricted groups. Once a user has been incorrectly added to a restricted group, the user may then be able to view content which that are restricted to the respective group. Users are advised to upgrade to the current stable releases. There are no known workarounds to this issue.

MediumCVSS 5.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A Discourse invite control could fail to enforce the intended recipient or allowed email domain. A logged-in user may accept an invite they should not qualify for, potentially gaining access to restricted group content if the invite adds them to that group.

Executive priority

Treat as moderate priority where Discourse protects private customer, community, or staff discussions. Urgency is higher for sites using invites to grant restricted-group access, because the primary business impact is unintended disclosure of private content.

Technical view

CVE-2022-31096 is a CWE-281 authorization flaw in Discourse invite redemption. A logged-in user can, under certain conditions, redeem email-restricted or domain-restricted invites with a non-matching email. Impact is mainly confidentiality when restricted-group membership exposes private content.

Likely exposure

Exposed assets are Discourse instances running stable versions before 2.8.5 or beta versions before 2.9.0.beta6, especially sites using email-specific or domain-restricted invite links that add users to restricted groups.

Exploitation context

The source bundle does not show CISA KEV listing or a cited report of active exploitation. Exploitation requires a logged-in user and invite interaction, but the public summary does not fully describe the necessary conditions.

Researcher notes

Focus validation on invite acceptance authorization and group-assignment outcomes, not public unauthenticated access. The public sources state no workaround and do not provide complete trigger conditions, so version confirmation and vendor advisory review are central.

Mitigation direction

  • Upgrade Discourse to a current stable release.
  • Ensure stable deployments are at least 2.8.5.
  • Ensure beta deployments are at least 2.9.0.beta6.
  • Check Discourse advisory guidance before relying on compensating controls.
  • Review restricted-group memberships created through invites.

Validation and detection

  • Inventory all Discourse instances and deployed versions.
  • Identify use of email-restricted or domain-restricted invite links.
  • Review invite-created memberships in restricted groups.
  • Confirm private categories remain limited to intended groups.
  • Check vendor advisory for any newer guidance.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-281: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31096 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.7CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N2.13.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.7Medium
CVSS 3.1 vector shape for CVE-2022-31096Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
discoursediscourse< 2.8.5; stable branch, < 2.9.0.beta6; beta brachListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-281 · source CWE mapping

Improper Preservation of Permissions

Improper Preservation of Permissions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.