CVE-2026-133705
Hanko before 3.2.0 contains an open redirect vulnerability in Saml.IsAllowedRedirect that allows unauthenticated attackers to bypass the redirect allowlist by …
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products · Teamhanko
| Product | Affected versions |
|---|---|
| Hanko | before 3.2.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/teamhanko/hanko/security/advisories/GHSA-jfqc-fr2q-fvx6
- https://github.com/teamhanko/hanko/commit/c34e9163df0aa15b6a9cc3a70ff9be01419199b2
- https://github.com/teamhanko/hanko/blob/backend/v3.1.2/backend/config/config_saml.go
- https://github.com/teamhanko/hanko/releases/tag/backend/v3.2.0
- https://www.vulncheck.com/advisories/hanko-before-3.2.0-account-takeover-via-saml-redirect-allowlist-bypass
- https://github.com/advisories/GHSA-gmrg-qvhp-vhm6
- https://nvd.nist.gov/vuln/detail/CVE-2026-133705