Intel

AIKIDO-2026-897044

Microsoft.IdentityModel.Tokens.Saml is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-50653 Published Aug 14, 2026

75

High Risk

This Affects:

DOTNETMicrosoft.IdentityModel.Tokens.Saml
0.0.1 - 5.7.0
Fixed in 5.7.1
6.5.0 - 7.7.2
Fixed in 7.7.3
8.0.0 - 8.19.1
Fixed in 8.19.2
Are you affected? Scan for Free

TL;DR

The Microsoft.IdentityModel.Tokens.Saml component reads SAML security tokens and assertions from request input. A crafted SAML token drives a loop whose exit condition is never reached while deserializing untrusted data, so processing never completes. Before the fix an unauthenticated caller can send such a token over the network to exhaust CPU and memory and stop the service from answering legitimate requests. The fix corrects the loop so parsing terminates and the malformed token is rejected instead of looping indefinitely.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application processes SAML tokens or assertions with the affected component.

Background info

Microsoft.IdentityModel.Tokens.Saml is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 5.7.0, 6.5.0 - 7.7.2 and 8.0.0 - 8.19.1.

How to fix this

Upgrade the Microsoft.IdentityModel.Tokens.Saml library to the patch version.