{"id":"CVE-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-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.","aliases":["BIT-discourse-2026-32113","GHSA-378j-ccw4-4fwh"],"modified":"2026-04-10T05:42:19.391154Z","published":"2026-03-31T17:39:25.820Z","database_specific":{"cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32113.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32113.json"},{"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/using-discourse-as-a-sso-provider/32974"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32113"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"},{"fixed":"b3f024ce9587e678216892cbd967201b2450e197"}],"database_specific":{"versions":[{"introduced":"2026.1.0-latest"},{"fixed":"2026.1.3"}]}},{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"},{"fixed":"4431801e7b5af883edb430643fdace7608ffb6fb"}],"database_specific":{"versions":[{"introduced":"2026.2.0-latest"},{"fixed":"2026.2.2"}]}},{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"896e810e1b296478bba91559a8fc89a9926f11fe"},{"fixed":"896e810e1b296478bba91559a8fc89a9926f11fe"}],"database_specific":{"versions":[{"introduced":"2026.3.0-latest"},{"fixed":"2026.3.0"}]}}],"versions":["esr","stable","v2026.1.0","v2026.1.0-latest","v2026.1.1","v2026.1.2","v2026.2.0","v2026.2.0-latest","v2026.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32113.json"}}],"schema_version":"1.7.5","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"}]}