Intel

AIKIDO-2026-10856

AspNetSaml is vulnerable to Authentication Bypass

Authentication Bypass Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 20, 2026

81

High Risk

This Affects:

DOTNETAspNetSaml
1.2.0 - 2.1.5
Fixed in 2.1.6
Are you affected? Scan for Free

TL;DR

AspNetSaml validates SAML response signatures and expiration but does not verify the assertion audience against the service provider EntityID. An assertion issued for one service provider can be reused against another application that trusts the same identity provider. This can let an authenticated user gain access to the wrong service provider with a valid but mis-scoped assertion. The fix adds IsValid(string audienceEntityId) and rejects responses whose AudienceRestriction does not contain the expected SP EntityID.

Who does this affect?

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

Background info

AspNetSaml is vulnerable to Authentication Bypass in versions 1.2.0 - 2.1.5.

How to fix this

Upgrade the AspNetSaml library to the patch version.