Hankoの脆弱性で、SAMLログインを悪用したアカウント乗っ取りのおそれ
Summary
Hankoの3.2.0より前のバージョンには、SAMLのリダイレクト先の許可リストを回避される脆弱性(CVE-2026-133705)があります。細工したログインリンクで一回限りのhanko_tokenを取得され、PKCEなしで引き換えられるとセッションを乗っ取られるおそれがあります。修正版の3.2.0で対応できるため、早めの更新をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Hankoの3.2.0より前のバージョンには、SAMLのリダイレクト先の許可リストを回避される脆弱性(CVE-2026-133705)があります。細工したログインリンクで一回限りのhanko_tokenを取得され、PKCEなしで引き換えられるとセッションを乗っ取られるおそれがあります。修正版の3.2.0で対応できるため、早めの更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| teamhankohanko |
< 3.2.0→ 3.2.0 |
3.2.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com