Description
Hanko before 3.2.0 contains an open redirect vulnerability in Saml.IsAllowedRedirect that allows unauthenticated attackers to bypass the redirect allowlist by appending attacker-controlled domain suffixes to allowed hostnames. Attackers can lure victims through a crafted /saml/auth login link to capture the one-time hanko_token and redeem it without PKCE to hijack the victim's session.
Metrics
CVSS 3.1 6.8/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| teamhanko | hanko | < 3.2.0 |
References
- https://github.com/teamhanko/hanko/blob/backend/v3.1.2/backend/config/config_saml.go
- https://github.com/teamhanko/hanko/commit/c34e9163df0aa15b6a9cc3a70ff9be01419199b2
- https://github.com/teamhanko/hanko/releases/tag/backend/v3.2.0
- https://github.com/teamhanko/hanko/security/advisories/GHSA-jfqc-fr2q-fvx6
- https://www.vulncheck.com/advisories/hanko-before-3.2.0-account-takeover-via-saml-redirect-allowlist-bypass
Timeline
- Published
- Nov 20, 2026
- Last modified
- Nov 20, 2026
- NVD status
- Received