Intel

AIKIDO-2026-11098

System.IdentityModel.Tokens.Jwt is vulnerable to Information Disclosure

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 5, 2026
June 5, 2026

53

CVE Score

Medium

Information Disclosure

Are you affected? Scan for Free

TL;DR

When System.IdentityModel.Tokens.Jwt validates or creates JWTs, large claim sets rent oversized buffers from the shared ArrayPool and previously decoded beyond the written payload, so stale pool bytes could be parsed as claims. Token encoding and utility paths also returned pooled arrays without clearing them, leaving header, payload, and signing bytes in the shared pool for later operations in the same process. An attacker who can submit JWTs to a shared host may influence pool reuse timing and recover residual sensitive bytes from prior token handling. Version 8.19.0 slices rented buffers to the decoded size and clears pooled arrays on return across the affected JWT paths.

How do I fix this?

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

Who does this affect?

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

Versions

8.0.0 - 8.18.0

Fixed in 8.19.0

Background info

System.IdentityModel.Tokens.Jwt is vulnerable to Information Disclosure in versions 8.0.0 - 8.18.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea