{"id":"BIT-discourse-2026-32113","summary":"Discourse: Open redirect via `sso_destination_url` cookie in `enter`","details":"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.","aliases":["CVE-2026-32113","GHSA-378j-ccw4-4fwh"],"modified":"2026-09-08T08:46:29.813502011Z","published":"2026-04-07T08:43:40.581Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*"]},"references":[{"type":"FIX","url":"https://github.com/discourse/discourse/commit/080408b93d00305b51d71f63f755f43fa601884d"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-378j-ccw4-4fwh"},{"type":"WEB","url":"https://meta.discourse.org/t/use-discourse-as-an-identity-provider-sso-discourseconnect/32974"},{"type":"WEB","url":"https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32113"}],"affected":[{"package":{"name":"discourse","ecosystem":"Bitnami","purl":"pkg:bitnami/discourse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2026.1.0"},{"fixed":"2026.1.3"},{"introduced":"2026.2.0"},{"fixed":"2026.2.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2026-32113.json"},"severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}],"schema_version":"1.9.0"}