Intel

AIKIDO-2026-895105

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

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

59

CVE Score

Medium

Exposure of Sensitive Information to an Unauthorized Actor

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.

How do I fix this?

Upgrade the Azure.Core library to the patch version.

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.

Package

Versions

1.17.0 - 1.58.0

Fixed in 1.59.0

Background info

Azure.Core is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 1.17.0 - 1.58.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