Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 4.0 score of 5.1 reflects moderate risk with nuanced attack characteristics. The vector AV:N (network attack vector) and PR:N (no privileges required) indicate broad accessibility, but AC:H (high complexity) and AT:P (passive threat) suggest attackers must either social engineer users into clicking links or exploit persistent cookie mechanisms-not trivial attack execution. The impact ratings (VC:N/VI:N/VA:N/SC:H/SI:H/SA:N) indicate limited direct confidentiality/integrity/availability impact on the Discourse system itself, but significant scope changes and secondary impacts to users (SI:H suggests high session/authentication impacts for victims). This is a phishing/credential harvesting vector rather than system compromise. The EPSS score is not provided, but the combination of high attack vector accessibility, user interaction requirement, and cookie-based delivery suggests lower real-world exploitation probability than the CVSS score alone implies. No KEV confirmation, no public exploit code, and no active exploitation reports lower the practical threat level. Organizations running affected versions should prioritize patching, but this is not a critical incident-response priority. The open redirect tag correctly categorizes the flaw-exploitation chains this with credential theft rather than direct system access. |
| Exploit ScenarioDerived | An attacker crafts a malicious link containing or leveraging cookie-injection techniques to set the sso_destination_url cookie to a phishing site (e.g., attacker.com/fake-discourse-login). When a legitimate Discourse user clicks the link, the StaticController enter action reads the attacker-controlled cookie and redirects the user to the phishing site without validation. The victim is presented with a credential harvesting page mimicking the Discourse login interface, leading to credential theft. Alternatively, the attacker could use HTTP response splitting or other cookie-injection vectors in multi-tenant environments to poison the cookie in cached responses. Exploitation requires user interaction (clicking a crafted link) but succeeds due to the lack of URL validation, making it suitable for targeted phishing campaigns against Discourse administrators or power users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Open redirect vulnerability in Discourse versions 2026.1.0 through 2026.3.0 allows unauthenticated remote attackers to redirect users to arbitrary destinations via a malicious sso_destination_url cookie, exploiting a lack of URL validation in the StaticController enter action. While the cookie is normally set during legitimate DiscourseConnect Provider flows with cryptographic validation, attackers can directly set client-controlled cookies to bypass validation logic. The vulnerability requires user interaction (clicking a crafted link) and persistence of attacker-controlled cookies to exploit, but successful exploitation can be used for credential harvesting or phishing attacks. No public exploit code or active exploitation has been confirmed at time of analysis. Patched versions 2026.1.3, 2026.2.2, and 2026.3.0 are available.
RemediationAI
Upgrade to patched versions immediately: Discourse 2026.1.3 or later (for 2026.1.x installations), 2026.2.2 or later (for 2026.2.x installations), or 2026.3.0 final release or later (for 2026.3.x installations). The upstream fix adds proper URL validation to the sso_destination_url cookie processing logic to ensure redirect destinations are trusted hosts before issuing redirects. No workarounds are available short of patches. Self-hosted administrators should update through their standard deployment process (typically Docker or source rebuild); managed Discourse instances are typically updated automatically by Discourse hosting providers. Consult the GitHub Security Advisory at https://github.com/discourse/discourse/security/advisories/GHSA-378j-ccw4-4fwh and the Discourse Meta post on SSO provider implementation at https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974 for additional context on SSO flows and validation expectations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from improper URL validation in Discourse's StaticController, specifically in the enter action which processes SSO redirects. The underlying root cause is CWE-601 (URL Redirection to Untrusted Site, Open Redirect), where the application reads the client-controlled sso_destination_url cookie and performs a redirect with allow_other_host: true without validating that the destination is a trusted domain. While DiscourseConnect Provider flows normally cryptographically validate SSO payloads before setting this cookie, the application does not distinguish between legitimately-set cookies and attacker-injected ones. This is a classic open redirect vulnerability where the trust boundary is incorrectly placed-the application assumes cookie presence implies prior validation, but cookies are inherently client-controlled and can be forged or modified by attackers. The affected product is Discourse (cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*), an open-source discussion platform written in Ruby on Rails, affecting all 2026.x versions within the specified ranges.
Know when Discourse gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun
discourse-bbcode is the official BBCode plugin for Discourse. Rated critical severity (CVSS 9.8), this vulnerability is
Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and
Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem
Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an insecure direct object reference (IDOR) in the
In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated
Unauthenticated attackers can submit forged webhook payloads to multiple email provider integrations in Discourse versio
Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi
Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r
Discourse versions prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed) contain a critical vu
Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is
Discourse Patreon enables syncronization between Discourse Groups and Patreon rewards. Rated critical severity (CVSS 9.8
EUVD-2026-17546
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB