All vulnerabilities

Servers and applications

GHSA-3r67-rvgq-ggwq

Access granted to an unverified email survives an activation email change

Severity
Medium 6.5
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
2026.7.7, 2026.9.4, 2026.10.3, 2026.11.0
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Sources
Project advisories (GitHub)

Description

Discourse could grant access to an account during invite redemption before verifying the email address supplied by the person accepting the invite. That person could then change the pending account’s activation email to an address they controlled and activate the account while retaining access associated with the original, unverified address.

An attacker able to use this flow could supply an email address they did not own, receive access intended for that address, and complete activation using a different address.

Demonstrated consequences include:

  • Confidentiality: Reading a private message intended for another person’s email address. The signup invite link itself did not need to grant access to the message: during redemption, Discourse could also attach access from a separate pending private-message invitation matching the supplied email address.
From discourse/discourse's security advisory. Shortened; the full text is there.

Workarounds

For the local password-signup invite variant, enable both parts of the email-code sign-in flow:

  • Enable enable_local_logins_via_email in the login settings.
  • Enable the enable_local_logins_via_code upcoming change.

Either setting alone is insufficient to ensure that this local invite-signup path uses email verification before redemption.

These settings do not address third-party login providers that can complete authentication without a verified email address. For those providers, consider disabling the affected provider until the patch is applied.

Workarounds as given by discourse/discourse's security advisory.

Affected software

SoftwareAffected versions
DiscourseServers and applications · github:discourse/discourse
  • Every version before 2026.11.0
  • From 2026.7.0-latest before 2026.7.7
  • From 2026.9.0-latest before 2026.9.4
  • From 2026.10.0-latest before 2026.10.3

About Discourse

open source Internet forum software application

From Wikidata, CC0 1.0.
Docker Hub pulls
183,015Docker Hub, 22 Nov 2026
GitHub stars
48,105GitHub, 22 Nov 2026
Forks
9,061GitHub, 22 Nov 2026
License
GNU General Public License, version 2.0Wikidata
Written in
Ruby, JavaScriptWikidata
First released
2013Wikidata
First published on GitHub
12 Jan 2013GitHub

References