Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft /saml/auth link with colliding redirect_to
-
DeliveryPhish victim into opening login link
-
ExploitVictim completes SP-initiated login at IdP
-
Executionhanko_token 302-redirected to attacker domain
-
PersistRedeem token at /token_exchange without PKCE
-
ImpactHijack victim's full session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Hanko tenant to have SAML enabled AND to configure allowed_redirect_urls using the documented trailing '' super-wildcard form (e.g. https://app.example.com) - a form shipped in Hanko's own k8s overlay example - which crosses host boundaries and matches attacker suffixes such as https://app.example.com.evil.com. The attacker needs no credentials (PR:N, public /saml/auth endpoint), but exploitation is limited by required victim interaction (UI:P): the victim must click the crafted link and complete a genuine login at their own IdP. Deployments that use exact-URL allowlists (no '**' wildcard) are not affected. The one-time token is redeemable without PKCE, which removes what would otherwise be a mitigating control on the token-exchange step. |
| Impact | The vendor-assigned CVSS 4.0 score of 7.6 (High) is driven by full confidentiality and integrity impact on the vulnerable system (VC:H/VI:H) via account takeover, but the AC:H and AT:P metrics confirm the attack is not trivially repeatable against arbitrary targets: it only works when a tenant's allowed_redirect_urls uses the trailing '**' wildcard form, and UI:P requires the victim to click a crafted link and complete a full IdP login. There is no CISA KEV listing (not confirmed actively exploited) and no EPSS probability was supplied in the input, so real-world exploitation volume cannot be quantified from the data. The reporter (VulnCheck) documented a detailed, end-to-end-verified proof-of-concept in the GHSA advisory, so this is a concrete, demonstrated weakness rather than a theoretical one, and the vuln.today Decision label is 'this_week' - meaning it should be prioritized for patching this week, consistent with a demonstrated unauthenticated account-takeover primitive that is nonetheless gated by a specific allowlist configuration. Net: a genuine priority for any Hanko tenant using wildcard redirect allowlists, but risk is materially lower for deployments that use exact-URL allowlists, which the advisory states are unaffected. |
| Exploit ScenarioDerived | An attacker crafts a Hanko /saml/auth login link whose redirect_to is a host that collides with an allowlisted '' wildcard entry (e.g. https://app.example.com.evil.com matching https://app.example.com) and phishes a victim into using it; after the victim completes SP-initiated SSO at their legitimate IdP, Hanko appends the one-time hanko_token to the attacker-controlled URL, and because SAML tokens carry no PKCE verifier the attacker redeems it at /token_exchange to seize the victim's full session. A reporter-verified public proof-of-concept exists in the vendor GHSA advisory, though no packaged exploit code is published; the AC:H/AT:P/UI:P metrics mean the attack depends on a specific wildcard allowlist configuration and victim interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Open redirect in Hanko's SAML service provider (backend v3 through 3.1.2) lets unauthenticated attackers bypass the allowed_redirect_urls allowlist by appending an attacker-controlled suffix to a permitted host, so a link such as https://app.example.com.evil.com is accepted when the tenant configured the documented trailing '' wildcard form (e.g. https://app.example.com). Because the public /saml/auth endpoint embeds the colliding redirect in the SAML state, the one-time hanko_token is delivered to the attacker's domain after the victim completes a genuine login at their own IdP, and SAML one-time tokens carry no PKCE verifier, so /token_exchange redeems the stolen token into the victim's full session and account takeover. Exploitation requires the victim to click the crafted link and finish an IdP login (CVSS 4.0 7.6 High, AC:H/AT:P/UI:P, PR:N); tenants using exact-URL allowlists without '**' are unaffected, the issue is not in CISA KEV, no in-the-wild exploitation is reported, and a proof-of-concept verified end to end is published in the vendor advisory.
RemediationAI
Upgrade Hanko backend to 3.2.0 (release https://github.com/teamhanko/hanko/releases/tag/backend/v3.2.0; fix commit https://github.com/teamhanko/hanko/commit/c34e9163df0aa15b6a9cc3a70ff9be01419199b2) per the vendor advisory https://github.com/teamhanko/hanko/security/advisories/GHSA-jfqc-fr2q-fvx6. If upgrading is not immediately possible, remove trailing '' super-wildcard entries from saml.allowed_redirect_urls and replace them with exact redirect URLs (exact-URL allowlists are not affected); the trade-off is that multi-path or multi-subdomain SAML return flows must be enumerated explicitly and may break existing integrations until re-listed. Note that 3.2.0 deliberately gives SAML no unsafe_wildcard_redirect_url_allowed equivalent, so wildcard-only patterns like '' or 'https://**' will be rejected outright after the fix and any configuration relying on them must be rewritten. As a last-resort containment measure, disable the SAML flow (saml.enabled=false) until the patch is deployed, accepting that SAML SSO users cannot log in. Prioritization guidance is 'this_week'; exploitation prerequisites (trailing-wildcard allowlist plus victim interaction and a completed IdP login) should be used to order the rollout, not to defer it.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hanko is a Go-based identity platform; the affected component is the SAML backend tracked in CPE cpe:2.3:a:teamhanko:hanko:*:*:*:*:*:*:*:* and the Go module go/github.com/teamhanko/hanko/backend/v3 (vulnerable <=3.1.2). In backend/config/config_saml.go, allowlist entries are compiled as globs over the '.' and '/' separators, where a trailing '' acts as a super-wildcard that crosses host boundaries; Saml.IsAllowedRedirect (config_saml.go:190-201) performed only pattern.Match(redirectTo) with no host-boundary validation, so https://app.example.com matched https://app.example.com.evil.com. The same root-cause class was already addressed on the third-party (OAuth/OIDC) path in PR #2734 via matchesAllowedRedirectHostBoundary, but the SAML sibling never received the equivalent check. This is primarily CWE-601 (URL Redirection to Untrusted Site), with CWE-287/CWE-303 implications because the redirect leak escalates to authentication bypass. The consumption chain is in backend/handler/saml.go:394-396, which appends the one-time token to state.RedirectTo as the hanko_token query parameter and 302-redirects the browser to the attacker host; SAML tokens are created without a PKCE verifier, so action_exchange_token.go:55-96 skips the PKCE check and redeems the token. The fix (commit c34e9163df0aa15b6a9cc3a70ff9be01419199b2) removes Saml.IsAllowedRedirect and routes SAML through the shared thirdparty.IsAllowedRedirectURL with unsafe-wildcard disabled, so wildcard-only patterns such as '' or 'https://' are never accepted as redirect targets; Added regression tests reject host collisions and userinfo-style bypasses (http://localhost:8888@evil.com).
Know when Hanko gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Unauthenticated and network-reachable (PR:N/AV:N), but needs a specific '**' wildcard allowlist config and a host collision plus victim IdP login, so AC:H and UI:R; account takeover yields C:H/I:H, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
CWE-601 (URL Redirection to Untrusted Site); the advisory also tags CWE-287 and CWE-303 because the redirect flaw escalates into authentication bypass.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-133705 is a high-severity open redirect vulnerability in Hanko's SAML service provider that enables unauthenticated attackers to steal session tokens and achieve account takeover for tenants using wildcard-based redirect allowlists. Exploitation requires a victim to click a crafted link and complete an IdP login, meaning user credentials and sensitive data could be compromised, though no active exploitation has been reported. Security management should prioritize patching because the vulnerability bypasses a critical security control and directly threatens user accounts.
Apply vendor patch. Until patching is complete, disable the '**' wildcard in allowed_redirect_urls and enforce exact-match redirect URLs; additionally, monitor authentication logs for anomalous redirect destinations that append suffixes to trusted domains.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-131541
GHSA-gmrg-qvhp-vhm6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB