Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-0892

NIXPKGS-2026-0892
published on
updated 2 days, 3 hours ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse removed package discourse-mail-receiver
  • @LeSuisse removed package python312Packages.pydiscourse
  • @LeSuisse removed package python313Packages.pydiscourse
  • @LeSuisse removed package python314Packages.pydiscourse
  • @LeSuisse removed package grafanaPlugins.grafana-discourse-datasource
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Discourse: Open redirect via `sso_destination_url` cookie in `enter`

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.

Affected products

discourse
  • ==>= 2026.2.0-latest, < 2026.2.2
  • ==>= 2026.1.0-latest, < 2026.1.3
  • ==>= 2026.3.0-latest, < 2026.3.0

Matching in nixpkgs

Package maintainers

https://github.com/discourse/discourse/security/advisories/GHSA-378j-ccw4-4fwh