{"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-08-12T03:51:12.020729210Z","published":"2026-03-31T17:39:25.820Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32113.json"},"references":[{"type":"WEB","url":"https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32113.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-378j-ccw4-4fwh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32113"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/080408b93d00305b51d71f63f755f43fa601884d"},{"type":"EVIDENCE","url":"https://meta.discourse.org/t/use-discourse-as-an-identity-provider-sso-discourseconnect/32974"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"},{"fixed":"b3f024ce9587e678216892cbd967201b2450e197"},{"introduced":"f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"},{"fixed":"4431801e7b5af883edb430643fdace7608ffb6fb"},{"introduced":"896e810e1b296478bba91559a8fc89a9926f11fe"},{"fixed":"080408b93d00305b51d71f63f755f43fa601884d"}],"database_specific":{"cpe":["cpe:2.3:a:discourse:discourse:*:*:*:*:latest:*:*:*","cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*","cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest.1:*:*:*"],"extracted_events":[{"introduced":"2026.1.0"},{"fixed":"2026.1.3"},{"introduced":"2026.2.0"},{"fixed":"2026.2.2"},{"introduced":"2026.3.0"},{"last_affected":"2026.3.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["2026.3.0","v2026.1.2","v2026.2.1","v2026.3.0-latest.1","v2026.1.1","v2026.2.0","v2026.3.0-latest","v2026.1.0","stable","esr","v2026.2.0-latest","v2026.1.0-latest"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32113.json"}}],"schema_version":"1.9.0","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"}]}