Ce mail provient de l'extérieur, restons vigilants

=====================================================================


                            CERT-Renater

                Note d'Information No. 2026/VULN1193

_____________________________________________________________________

DATE                : 26/11/2026

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Discourse versions prior to
                      2026.11.0, 2026.10.3, 2026.9.4, 2026.7.7.

====================================================================
https://github.com/discourse/discourse/security/advisories/GHSA-jv6w-2gm8-vfpw
https://github.com/discourse/discourse/security/advisories/GHSA-3r67-rvgq-ggwq
https://github.com/discourse/discourse/security/advisories/GHSA-hqv9-j9vc-6p7h
_____________________________________________________________________

Unauthorized Group Membership via Email/Invite Signup User Fields
High
davidtaylorhq published GHSA-jv6w-2gm8-vfpw

Software
Discourse

Affected versions
>= 0
>= 2026.10.0-latest
>= 2026.9.0-latest
>= 2026.7.0-latest

Patched versions
2026.11.0
2026.10.3
2026.9.4
2026.7.7


Description

Impact

In the bundled Automation plugin, the "Add user to group through User
Custom Field" script adds a user to the group whose full name matches
the value of a user field. Email-code signup and invite signup did not
check dropdown and multiselect user field values against the field's
configured options. As a result, a person signing up could be added
to a group the field did not offer, and gain access to categories,
topics and messages restricted to that group.

Any person who can create an account could do this. On sites where
email-code sign-in is not enabled, they need an invite link. Signing
up through the standard signup form was not affected.

Only sites that enabled the Automation plugin and configured this
script on a user field shown at signup are affected, including sites
where that field is a dropdown. The script does not add users to
automatic groups such as admins, moderators or staff.


Workarounds

    Disable the automation, or
    Turn off "Show on signup" for the user field that the
automation uses.

To find affected accounts, check the logs of groups that have
a full name for members added by the system user, and compare
each member's field value with the field's options.


Severity
High
8.2/ 10

CVSS v3 base metrics
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

CVE ID
No known CVE

Weaknesses
No CWEs
_____________________________________________________________________


Access granted to an unverified email survives an activation email
change

Moderate
davidtaylorhq published GHSA-3r67-rvgq-ggwq 

Software
Discourse

Affected versions
>= 0
>= 2026.10.0-latest
>= 2026.9.0-latest
>= 2026.7.0-latest

Patched versions
2026.11.0
2026.10.3
2026.9.4
2026.7.7


Description

Impact

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.

    Integrity: Retaining moderator status or private-group membership
obtained through a domain-restricted invite, even though the
account’s subsequently verified address was outside the permitted
domain. On versions supporting domain-restricted admin invites, the
account could also become an administrator if the inviting admin
confirmed the grant using the confirmation request that named the
original in-domain address.

    Site access: Joining an invite-only site through a
domain-restricted invite without owning an address in the
permitted domain. On sites requiring login to read content,
this could expose content available to site members.

Attack prerequisites

The attacker must be able to redeem an invite through a flow that
accepts an email address without first verifying ownership of
that address.

In the legacy password-signup invite flow, this path is reachable
when either:

    enable_local_logins_via_email is disabled; or
    The enable_local_logins_via_code upcoming change is disabled.

The path can also be reachable through a third-party login provider
that completes authentication without a verified email address,
even when the default local sign-in settings are enabled. Depending
on their configuration, this can include OpenID Connect and
generic OAuth2 providers.

The attacker must also have access to a usable invite link. The
specific consequences require additional conditions:

    Private-message disclosure: A separate pending invitation to
a private message must exist for the email address the attacker
supplies.
    Domain-restricted group, staff, or site access: The attacker
must possess a domain-restricted invite link that provides the
relevant access.
    Administrator access: The affected version must support the
relevant admin-invite flow, and the inviting administrator must
confirm the grant.

Possession of an unrestricted invite link alone does not provide
access to arbitrary private messages. The private-message variant
depends on Discourse finding a separate pending message
invitation matching the supplied address.


Patch behavior

The patch rejects activation-email changes for any account with
an invite redemption record. The account must complete
activation using its current email address; it cannot
substitute a different address to finish activation.

This is a blanket restriction for invite-redeemed accounts. It
does not attempt to determine which individual permissions
depended on the original address.

    The restriction applies to email-specific invites,
domain-restricted invites, and unrestricted invite links.
    It applies even when the replacement address is within the
same domain or the invite did not grant additional permissions.
    The check uses the account’s redemption record rather than
the invitation’s current configuration. Editing or deleting the
invitation does not bypass the restriction while that record
remains.
    Rejected changes preserve the existing email address and
activation token, so activation at the original address can
still succeed.
    Submitting the same address after case and whitespace
normalization remains allowed.
    Ordinary signup email correction for accounts without an
invite redemption record is unchanged.
    The normal email-change process after activation is
unchanged.


Compatibility consequences

Invited users can no longer correct an email typo or choose a
different email address before activation.

Starting over with the preferred address may be possible if the
invite has remaining uses. However, the pending account retains
its username, and accepting an invite consumes a redemption before
email verification. A mistake can therefore require a different
username, staff assistance, or a replacement invite.

“Unrestricted” means that an invite has no email or domain
restriction; it does not necessarily mean that the invite has
unlimited uses.


Scope

This advisory and patch address the sequence of redeeming an
invite, changing the pending account’s activation email, and
activating with the replacement address.

The patch does not change non-invite signup, email-derived
automatic approval, bulk-import provisioning, or
administrator-confirmation handling. It should not be
interpreted as a general remediation for every feature that
associates access or data with an unverified email address.


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.

Avoiding domain-restricted invite links and email invitations
to private messages also reduces exposure to the demonstrated
invite-based attacks.


Review existing accounts

The patch does not undo access obtained through exploitation.
It also does not repair pending accounts whose activation
email was already changed before the patch was installed.

Administrators investigating possible exploitation should
review accounts associated with affected invitations, including
pending accounts. For domain-restricted invitations, check
whether the account’s current email address belongs to the
expected domain and investigate unexpected changes.

Deleting an invitation does not remove access it already
granted. Unauthorized group membership, staff roles, or
private-message access must be removed from the affected
account itself.


Severity
Moderate
6.5/ 10

CVSS v3 base metrics
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

CVE ID
No known CVE

Weaknesses
No CWEs

_____________________________________________________________________


Secure-upload authorization bypass via foreign URL origin spoofing
Moderate
davidtaylorhq published GHSA-hqv9-j9vc-6p7h

Software
Discourse

Affected versions
>= 0
>= 2026.10.0-latest
>= 2026.9.0-latest
>= 2026.7.0-latest

Patched versions
2026.11.0
2026.10.3
2026.9.4
2026.7.7

Description

Impact

An authenticated user can cause the server to sign, fetch, and re-host
the content of a private upload into a publicly visible post, bypassing
the per-post authorization gate that normally restricts who can view a
secure upload's content.

A secure-upload URL served from an attacker-controlled host (or one
with a mismatched scheme on the same host) was incorrectly recognized
as a local secure-upload reference. The server would then generate a
presigned link to the protected S3 object, download it, and copy it
into the attacker's public post, exposing content the attacker cannot
legitimately see.

The vulnerability is bounded in the following ways:

    Requires an authenticated user account (standard trust level, no
special group membership).
    Requires secure_uploads and download_remote_images_to_local site
settings to be enabled with an S3-backed file store.
    Requires knowledge or a feasible guess of the upload's
content-addressed SHA; bulk enumeration is not possible.
    Affects a single specific object per crafted URL; no integrity
or availability impact exists.

Default-port deployments and installations that do not use S3-backed
secure uploads are not affected by the secondary port-resolution
defect described below. A separate minor correctness issue affected
custom-port deployments where a scheme-relative URL with an omitted
port was inconsistently matched.


Workarounds

    Disable the download remote images to local site setting
(SiteSetting.download_remote_images_to_local). This prevents the
hotlinked-image pipeline from processing any remote URL,
eliminating the signing and copying path. Note: this also disables
legitimate remote-image downloading.
    Disable secure uploads (SiteSetting.secure_uploads). This
removes the feature entirely and eliminates the affected code
path. Note: this changes upload visibility semantics site-wide.

Either setting change can be made from the Admin UI under Site
Settings without downtime.


Severity
Moderate
4.3/ 10

CVSS v3 base metrics
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID
No known CVE

Weaknesses
No CWEs

=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================




