JWT algorithm confusion → cross-tenant account takeover
- Root
- An RS256 verifier that also accepts HS256 lets an attacker sign tokens with the public key.
- Impact
- Authenticate as any user, in any tenant.
- Fix
- Pin the algorithm; separate verification keys by type.