Intel

AIKIDO-2026-11109

System.IdentityModel.Tokens.Jwt is vulnerable to Authentication Bypass

Authentication Bypass Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

65

Medium Risk

This Affects:

DOTNETSystem.IdentityModel.Tokens.Jwt
7.0.0 - 7.7.1
Fixed in 7.7.2
Are you affected? Scan for Free

TL;DR

JwtSecurityTokenHandler resolves signing keys through a documented precedence chain when validating JWT signatures. Before the fix, a missing else allowed IssuerSigningKeyResolver to run after IssuerSigningKeyResolverUsingConfiguration, contrary to the documented contract and JsonWebTokenHandler behavior. Applications that configure both resolvers can validate signatures with keys from the less restrictive legacy resolver instead of configuration-derived keys. The fix adds else if so configuration-based resolution takes exclusive priority.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

System.IdentityModel.Tokens.Jwt is vulnerable to Authentication Bypass in versions 7.0.0 - 7.7.1.

How to fix this

Upgrade the System.IdentityModel.Tokens.Jwt library to the patch version.