CVE-2026-32113
JSON

5.1medium

Discourse: Open redirect via `sso_destination_url` cookie in `enter`

Severity
5.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2026-32113GHSA-378j-ccw4-4fwh

Description

Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, the enter action in StaticController reads the sso_destination_url cookie and redirects to it with allow_other_host: true without validating the destination URL. While this cookie is normally set during legitimate DiscourseConnect Provider flows with cryptographically validated SSO payloads, cookies are client-controlled and can be set by attackers. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.

Affected

Product or packageVersionsReported by
discourse discourse>= 2026.1.0-latest, < 2026.1.3, >= 2026.2.0-latest, < 2026.2.2, >= 2026.3.0-latest, < 2026.3.0, from 2026.1.0 before 2026.1.3, from 2026.2.0 before 2026.2.2, 2026.3.0CVE List, NVD
discourse (Bitnami)from 2026.1.0 before 2026.1.3, from 2026.2.0 before 2026.2.2Bitnami Vulnerability Database

All scores

GitHub_M5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-601

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.3, 2026.2.0-latest to before 2026.2.2, and 2026.3.0-latest to before 2026.3.0, the enter action in StaticController reads the sso_destination_url cookie and redirects to it with allow_other_host: true without validating the destination URL. While this cookie is normally set during legitimate DiscourseConnect Provider flows with cryptographically validated SSO payloads, cookies are client-controlled and can be set by attackers. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.

NVD (es)

Discourse es una plataforma de discusión de código abierto. Desde las versiones 2026.1.0-latest hasta antes de la 2026.1.3, 2026.2.0-latest hasta antes de la 2026.2.2, y 2026.3.0-latest hasta antes de la 2026.3.0, la acción 'enter' en StaticController lee la cookie sso_destination_url y redirige a ella con allow_other_host: true sin validar la URL de destino. Si bien esta cookie se establece normalmente durante flujos legítimos de DiscourseConnect Provider con cargas útiles SSO validadas criptográficamente, las cookies son controladas por el cliente y pueden ser establecidas por atacantes. Este problema ha sido parcheado en las versiones 2026.1.3, 2026.2.2 y 2026.3.0.

Bitnami Vulnerability Database

Discourse is an open-source discussion platform. From versions 2026.1.0 to before 2026.1.3, and 2026.2.0 to before 2026.2.2, the enter action in StaticController reads the sso_destination_url cookie and redirects to it with allow_other_host: true without validating the destination URL. While this cookie is normally set during legitimate DiscourseConnect Provider flows with cryptographically validated SSO payloads, cookies are client-controlled and can be set by attackers. This issue has been patched in versions 2026.1.3, 2026.2.2, and 2026.3.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-32113 changed 2026-04-01CVE Terms of Use
NVDCVE-2026-32113 changed 2026-07-24Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2026-32113 changed 2026-09-08Apache-2.0