Intel

AIKIDO-2026-895105

Azure.Core is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Today

59

Medium Risk

This Affects:

DOTNETAzure.Core
1.17.0 - 1.58.0
Fixed in 1.59.0
Are you affected? Scan for Free

TL;DR

Azure.Core includes BearerTokenAuthenticationPolicy, which attaches a cached bearer token as the Authorization header on every per-retry send. When the pipeline follows a redirect to a different host, the policy re-attaches the original access token even though RedirectPolicy had stripped it, sending the credential to the redirect target. An attacker-controlled or otherwise unintended redirect host can therefore receive an access token issued for the original service. The fix detects when the request authority changes, defensively strips any Authorization header, and skips re-authorization and challenge handling for the redirected host.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your client follows an HTTP redirect to a different host.

Background info

Azure.Core is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 1.17.0 - 1.58.0.

How to fix this

Upgrade the Azure.Core library to the patch version.